mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 01:17:29 +01:00
LCL: fixed commit in r10604 #7001d5cf7b; perform is needed, because the msg field is different.
git-svn-id: trunk@10606 -
This commit is contained in:
parent
e0d474767d
commit
e0beca0bd1
@ -1931,7 +1931,8 @@ begin
|
||||
MouseCapture := False;
|
||||
end;
|
||||
|
||||
WindowProc(TLMessage(Message));
|
||||
Message.Result := Perform(LM_CONTEXTMENU,TLMessage(Message).WParam,
|
||||
TLMessage(Message).LParam);
|
||||
//MouseUp event is independent of return values of contextmenu
|
||||
DoMouseUp(Message, mbRight);
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user