GTK+ 1 compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-12-24 02:20:15 +00:00
parent 76471ff7f5
commit defdd88800
8 changed files with 32 additions and 14 deletions

View File

@@ -44,6 +44,11 @@
// 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
);