]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/menu.cpp
Fixed GetIcon to keep up with return type change on all other platforms.
[wxWidgets.git] / src / gtk1 / menu.cpp
index f0dad01dcfe8962984494eb891bfd0f599f10c9d..af9c1f673893a61d3409f7562e56dde27b2f4096 100644 (file)
 // we use normal item but with a special id for the menu title
 static const int wxGTK_TITLE_ID = -3;
 
+// defined in window.cpp
+#ifndef __WXGTK20__
+    extern guint32 wxGtkTimeLastClick;
+#endif
+
 //-----------------------------------------------------------------------------
 // idle system
 //-----------------------------------------------------------------------------
@@ -1624,7 +1629,7 @@ bool wxWindowGTK::DoPopupMenu( wxMenu *menu, int x, int y )
 #ifdef __WXGTK20__
                   gtk_get_current_event_time()
 #else
-                  gs_timeLastClick              // the time of activation
+                  wxGtkTimeLastClick            // the time of activation
 #endif
                 );