Gtk2: fixed compilation with -dVerboseMouseBugFix

git-svn-id: trunk@24193 -
This commit is contained in:
zeljko 2010-03-24 17:04:26 +00:00
parent 9dde8efaf2
commit e1d960ff51

View File

@ -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