]> git.saurik.com Git - wxWidgets.git/commitdiff
GTK_WIDGET_SENSITIVE should have been converted to gtk_widget_get_sensitive
authorPaul Cornett <paulcor@bullseye.com>
Tue, 29 Mar 2011 05:15:54 +0000 (05:15 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 29 Mar 2011 05:15:54 +0000 (05:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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)