]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobut.cpp
move variable definitions to more appropriate places, remove now-empty src/common...
[wxWidgets.git] / src / gtk / radiobut.cpp
index 49590debfb527425757019879626b05b7fa147a6..f465958df1210d3c451af3b5e9ea3c267f12bbaa 100644 (file)
@@ -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(