X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdf90a1a1c4b7ce58980b47c7af926dc905652e8..f313deaa38ebd9d8a9a2755a105e12999dd5493c:/src/gtk/radiobut.cpp diff --git a/src/gtk/radiobut.cpp b/src/gtk/radiobut.cpp index 49590debfb..f465958df1 100644 --- a/src/gtk/radiobut.cpp +++ b/src/gtk/radiobut.cpp @@ -47,8 +47,6 @@ void gtk_radiobutton_clicked_callback( GtkToggleButton *button, wxRadioButton *r // wxRadioButton //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxRadioButton,wxControl) - bool wxRadioButton::Create( wxWindow *parent, wxWindowID id, const wxString& label, @@ -123,8 +121,6 @@ void wxRadioButton::SetValue( bool val ) // should give an assert // RL - No it shouldn't. A wxGenericValidator might try to set it // as FALSE. Failing silently is probably TRTTD here. - // RR - MSW actually unchecks the radio button so do this here, too - gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON(m_widget), FALSE ); } g_signal_handlers_unblock_by_func(