]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobox.cpp
Call Dismiss rather than Show(false) on the infobar to correct the layout.
[wxWidgets.git] / src / gtk / radiobox.cpp
index 5e6baa844f3907e06f8d45d82b7f48a27a17cc6f..eace0af70b6d3ec659b92b0edf1c98de88443d36 100644 (file)
@@ -475,7 +475,7 @@ bool wxRadioBox::IsItemEnabled(unsigned int item) const
 
     // don't use GTK_WIDGET_IS_SENSITIVE() here, we want to return true even if
     // the parent radiobox is disabled
-    return gtk_widget_is_sensitive(GTK_WIDGET(button));
+    return gtk_widget_get_sensitive(GTK_WIDGET(button));
 }
 
 bool wxRadioBox::Show(unsigned int item, bool show)