X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8933fbc62e616831f1708b063f6a369221b1934c..52147d1c4bb54b904253e388da76747e459157c0:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index fb9623a2ba..e5a8a75d6d 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -172,7 +172,7 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value, g_signal_connect_after (m_widget, "changed", G_CALLBACK (gtkcombobox_changed_callback), this); - if ( gtk_check_version(2,10,0) ) + if ( !gtk_check_version(2,10,0) ) { g_signal_connect (m_widget, "notify::popup-shown", G_CALLBACK (gtkcombobox_popupshown_callback), this);