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.X,ClientBounds.Left);
dec(P.Y,ClientBounds.Top); dec(P.Y,ClientBounds.Top);
{$IFDEF VerboseMouseBugfix} {$IFDEF VerboseMouseBugfix}
DebugLn('TWinControl.IsControlMouseMsg ',Name,' -> ',Control.Name, DebugLn(['TWinControl.IsControlMouseMsg ',Name,' -> ',Control.Name,
' MsgPos=',TheMessage.Pos.X,',',TheMessage.Pos.Y, ' MsgPos=',TheMessage.Pos.X,',',TheMessage.Pos.Y,
' Control=',Control.Left,',',Control.Top, ' Control=',Control.Left,',',Control.Top,
' ClientBounds=',ClientBounds.Left,',',ClientBounds.Top, ' ClientBounds=',ClientBounds.Left,',',ClientBounds.Top,
' Scrolled=',GetClientScrollOffset.X,',',GetClientScrollOffset.Y, ' Scrolled=',GetClientScrollOffset.X,',',GetClientScrollOffset.Y,
' P=',P.X,',',P.Y ' P=',P.X,',',P.Y]
); );
{$ENDIF} {$ENDIF}
end; end;
@ -4908,7 +4908,7 @@ var
' P=',P.X,',',P.Y, ' P=',P.X,',',P.Y,
' ControlPos=',dbgs(ControlPos), ' ControlPos=',dbgs(ControlPos),
' ClientBounds=',ClientBounds.Left,',',ClientBounds.Top,',',ClientBounds.Right,',',ClientBounds.Bottom, ' ClientBounds=',ClientBounds.Left,',',ClientBounds.Top,',',ClientBounds.Right,',',ClientBounds.Bottom,
' OnlyCl=',OnlyClientAreas, // ' OnlyCl=',OnlyClientAreas,
' Result=',Result]); ' Result=',Result]);
{$ENDIF} {$ENDIF}
if Result then if Result then