void wxRadioButton::SetValue( bool val )
{
wxCHECK_RET( m_widget != NULL, wxT("invalid radiobutton") );
-
+
if (val == GetValue())
return;
else
{
// should give an assert
+ // RL - No it shouldn't. A wxGenericValidator might try to set it
+ // as FALSE. Failing silently is probably TRTTD here.
}
-
+
gtk_signal_connect( GTK_OBJECT(m_widget), "clicked",
GTK_SIGNAL_FUNC(gtk_radiobutton_clicked_callback), (gpointer*)this );
}