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:
@@ -238,9 +238,9 @@ wxWindowGTK *g_focusWindowLast = (wxWindowGTK*) NULL;
|
||||
wxWindowGTK *g_delayedFocus = (wxWindowGTK*) NULL;
|
||||
|
||||
// hack: we need something to pass to gtk_menu_popup, so we store the time of
|
||||
// the last click here
|
||||
// the last click here (extern: used from gtk/menu.cpp)
|
||||
#ifndef __WXGTK20__
|
||||
static guint32 gs_timeLastClick = 0;
|
||||
guint32 wxGtkTimeLastClick = 0;
|
||||
#endif
|
||||
|
||||
extern bool g_mainThreadLocked;
|
||||
@@ -1802,7 +1802,7 @@ static gint gtk_window_button_press_callback( GtkWidget *widget,
|
||||
win = FindWindowForMouseEvent(win, event.m_x, event.m_y);
|
||||
|
||||
#ifndef __WXGTK20__
|
||||
gs_timeLastClick = gdk_event->time;
|
||||
wxGtkTimeLastClick = gdk_event->time;
|
||||
|
||||
if (event_type == wxEVT_LEFT_DCLICK)
|
||||
{
|
||||
|
Reference in New Issue
Block a user