mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 19:29:34 +02:00
Gtk2: fixed compilation with -dVerboseMouseBugFix
git-svn-id: trunk@24193 -
This commit is contained in:
parent
9dde8efaf2
commit
e1d960ff51
@ -4541,12 +4541,12 @@ begin
|
||||
dec(P.X,ClientBounds.Left);
|
||||
dec(P.Y,ClientBounds.Top);
|
||||
{$IFDEF VerboseMouseBugfix}
|
||||
DebugLn('TWinControl.IsControlMouseMsg ',Name,' -> ',Control.Name,
|
||||
DebugLn(['TWinControl.IsControlMouseMsg ',Name,' -> ',Control.Name,
|
||||
' MsgPos=',TheMessage.Pos.X,',',TheMessage.Pos.Y,
|
||||
' Control=',Control.Left,',',Control.Top,
|
||||
' ClientBounds=',ClientBounds.Left,',',ClientBounds.Top,
|
||||
' Scrolled=',GetClientScrollOffset.X,',',GetClientScrollOffset.Y,
|
||||
' P=',P.X,',',P.Y
|
||||
' P=',P.X,',',P.Y]
|
||||
);
|
||||
{$ENDIF}
|
||||
end;
|
||||
@ -4908,7 +4908,7 @@ var
|
||||
' P=',P.X,',',P.Y,
|
||||
' ControlPos=',dbgs(ControlPos),
|
||||
' ClientBounds=',ClientBounds.Left,',',ClientBounds.Top,',',ClientBounds.Right,',',ClientBounds.Bottom,
|
||||
' OnlyCl=',OnlyClientAreas,
|
||||
// ' OnlyCl=',OnlyClientAreas,
|
||||
' Result=',Result]);
|
||||
{$ENDIF}
|
||||
if Result then
|
||||
|
Loading…
Reference in New Issue
Block a user