// 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
//-----------------------------------------------------------------------------
*is_waiting = FALSE;
}
-static void SetInvokingWindow( wxMenu *menu, wxWindow* win )
+void SetInvokingWindow( wxMenu *menu, wxWindow* win )
{
menu->SetInvokingWindow( win );
#ifdef __WXGTK20__
gtk_get_current_event_time()
#else
- gs_timeLastClick // the time of activation
+ wxGtkTimeLastClick // the time of activation
#endif
);