correct GTK+ version check added by r59603

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-04-15 21:07:55 +00:00
parent 5a8ea512bb
commit 4262848117

View File

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