LCL: changed order: first OnPopup and then MouseUp (bug #8274)

git-svn-id: trunk@10594 -
This commit is contained in:
vincents 2007-02-05 22:41:43 +00:00
parent a655b495c0
commit 4cb1999e17

View File

@ -1922,10 +1922,10 @@ begin
MouseCapture := False;
end;
if CheckMenuPopup(Message.pos) then
Message.Result := 1;
DoMouseUp(Message, mbRight);
if Message.Result = 0 then
if CheckMenuPopup(Message.pos) then
Message.Result := 1;
end;
{------------------------------------------------------------------------------