mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 05:39:29 +02:00
gtk2 intf: fixed compilation
git-svn-id: trunk@10352 -
This commit is contained in:
parent
dc52f9f953
commit
d9c4bfc71b
@ -2269,10 +2269,10 @@ var
|
||||
// => emulate it
|
||||
if GtkWidgetIsA(TargetWidget,gtk_type_entry)
|
||||
and (gdk_event_get_type(Event)=GDK_KEY_PRESS)
|
||||
and (VKey.VKey=13) then begin
|
||||
and (VKey^.VKey=13) then begin
|
||||
//DebugLn(['EmulateKeysEatenByGtk ']);
|
||||
FillChar(Msg,SizeOf(Msg),0);
|
||||
Msg.CharCode := VKey.VKey;
|
||||
Msg.CharCode := VKey^.VKey;
|
||||
if SysKey then
|
||||
Msg.msg := LM_SYSKEYDOWN
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user