+bool wxRadioBox::IsItemEnabled(int item) const
+{
+ wxCHECK_MSG( m_widget != NULL, false, wxT("invalid radiobox") );
+
+ wxList::compatibility_iterator node = m_boxes.Item( item );
+
+ wxCHECK_MSG( node, false, wxT("radiobox wrong index") );
+
+ GtkButton *button = GTK_BUTTON( node->GetData() );
+
+ // don't use GTK_WIDGET_IS_SENSITIVE() here, we want to return true even if
+ // the parent radiobox is disabled
+ return GTK_WIDGET_SENSITIVE(GTK_WIDGET(button));
+}
+