mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 09:09:32 +02:00
Gtk3: fixed build ws with define GTK3DEBUGEVENTS.
This commit is contained in:
parent
cae5c79b47
commit
69b940b0c3
@ -1794,13 +1794,16 @@ function TGtk3Widget.GtkEventMouseMove(Sender: PGtkWidget; Event: PGdkEvent
|
||||
var
|
||||
Msg: TLMMouseMove;
|
||||
MousePos: TPoint;
|
||||
{$IFDEF GTK3DEBUGEVENTS}
|
||||
R: TRect;
|
||||
{$ENDIF}
|
||||
begin
|
||||
Result := False;
|
||||
|
||||
{$IFDEF GTK3DEBUGEVENTS}
|
||||
R := GetClientBounds;
|
||||
DebugLn(['GtkEventMouseMove: ',dbgsName(LCLObject),' Send=',dbgs(Event^.motion.send_event),
|
||||
' state=',dbgs(event^.motion.state),
|
||||
' state=',dbgs(LongInt(event^.motion.state)),
|
||||
' x=',dbgs(Round(event^.motion.x)),
|
||||
' y=',dbgs(Round(event^.motion.y)),
|
||||
' x_root=',dbgs(Round(event^.motion.x_root)),
|
||||
|
Loading…
Reference in New Issue
Block a user