LCL: raise OnClick before OnMouseUp (issue #7956)

git-svn-id: trunk@10323 -
This commit is contained in:
vincents 2006-12-12 15:07:35 +00:00
parent e11cec8fcf
commit 020e8e4a42

View File

@ -1876,7 +1876,6 @@ begin
MouseCapture := False;
end;
DoMouseUp(Message, mbLeft);
if csClicked in ControlState then
begin
Exclude(FControlState, csClicked);
@ -1887,6 +1886,8 @@ begin
Click;
end;
end;
DoMouseUp(Message, mbLeft);
//DebugLn('TControl.WMLButtonUp END');
end;