mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 17:19:18 +02:00
LCL: reduced debugging
git-svn-id: trunk@15451 -
This commit is contained in:
parent
fbf7b8bdb4
commit
6e1292252c
@ -1715,9 +1715,9 @@ begin
|
|||||||
if not TempPopupMenu.AutoPopup then Exit;
|
if not TempPopupMenu.AutoPopup then Exit;
|
||||||
// SendCancelMode(nil);
|
// SendCancelMode(nil);
|
||||||
TempPopupMenu.PopupComponent := Control;
|
TempPopupMenu.PopupComponent := Control;
|
||||||
DebugLn(['TControl.WMContextMenu ',DbgSName(Self),' Message.pos=',dbgs(P2)]);
|
//DebugLn(['TControl.WMContextMenu ',DbgSName(Self),' Message.pos=',dbgs(P2)]);
|
||||||
P2 := ClientToScreen(P2);
|
P2 := ClientToScreen(P2);
|
||||||
DebugLn(['TControl.WMContextMenu ',DbgSName(Self),' P2=',dbgs(P2)]);
|
//DebugLn(['TControl.WMContextMenu ',DbgSName(Self),' P2=',dbgs(P2)]);
|
||||||
TempPopupMenu.Popup(P2.X, P2.Y);
|
TempPopupMenu.Popup(P2.X, P2.Y);
|
||||||
Message.Result:= 1;
|
Message.Result:= 1;
|
||||||
Exit;
|
Exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user