mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 12:29:30 +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;
|
||||
// SendCancelMode(nil);
|
||||
TempPopupMenu.PopupComponent := Control;
|
||||
DebugLn(['TControl.WMContextMenu ',DbgSName(Self),' Message.pos=',dbgs(P2)]);
|
||||
//DebugLn(['TControl.WMContextMenu ',DbgSName(Self),' Message.pos=',dbgs(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);
|
||||
Message.Result:= 1;
|
||||
Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user