+ {
+ // should give an assert
+ // RL - No it shouldn't. A wxGenericValidator might try to set it
+ // as FALSE. Failing silently is probably TRTTD here.
+ }
+
+ g_signal_handlers_unblock_by_func(
+ m_widget, (void*)gtk_radiobutton_clicked_callback, this);
+}
+
+bool wxRadioButton::GetValue() const
+{
+ wxCHECK_MSG( m_widget != NULL, false, wxT("invalid radiobutton") );
+
+ return gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(m_widget)) != 0;
+}
+
+bool wxRadioButton::Enable( bool enable )
+{
+ if (!base_type::Enable(enable))
+ return false;
+
+ gtk_widget_set_sensitive(gtk_bin_get_child(GTK_BIN(m_widget)), enable);
+
+ if (enable)
+ GTKFixSensitivity();
+
+ return true;