gtk_widget_get_display is documented to be GTK >= 2.2 thing -- fixes report about compilation failure

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-06-23 15:33:22 +00:00
parent daa38c004f
commit 127304e9c4
2 changed files with 4 additions and 4 deletions

View File

@ -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 )
{

View File

@ -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 )
{