barko wrote:
After upgrade from svn (r10351) I can't compile lazarus anymore with command: make clean all LCL_PLATFORM=gtk2
In console output is this:

[...]

Ran onto that one myself. I resolved it by applying some small changes to gtkproc.inc (see the patch).

Stefan
Index: lcl/interfaces/gtk/gtkproc.inc
===================================================================
--- lcl/interfaces/gtk/gtkproc.inc	(revision 10351)
+++ lcl/interfaces/gtk/gtkproc.inc	(working copy)
@@ -2269,10 +2269,10 @@
     // => 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

Reply via email to