X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/984e8d0b6b939898447794fc1af930651c66abe6..dc302518e6bf48326d202475bf78874fedcb2d9c:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 66d9e909d4..33085d03c9 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -1534,8 +1534,8 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, wxEventType event_type = wxEVT_NULL; - // GdkDisplay is a GTK+ 2.1.0 thing -#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 1, 0) + // GdkDisplay is a GTK+ 2.2.0 thing +#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 2, 0) if ( gdk_event->type == GDK_2BUTTON_PRESS && gdk_event->button >= 1 && gdk_event->button <= 3 ) {