gtk2 intf: fixed compilation

git-svn-id: trunk@10352 -
This commit is contained in:
mattias 2006-12-27 18:20:53 +00:00
parent dc52f9f953
commit d9c4bfc71b

View File

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