]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/radiobut.cpp
Fixed some bugs in up/down cursor navigation.
[wxWidgets.git] / src / gtk1 / radiobut.cpp
index 9367e3fde1d2e7b56f30ca702b0a288c9d46d457..52e317f1f42bb068678de03613ba1e6fa27ec729 100644 (file)
@@ -60,8 +60,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,
@@ -87,7 +85,7 @@ bool wxRadioButton::Create( wxWindow *parent,
     if (!HasFlag(wxRB_GROUP))
     {
         // search backward for last group start
-        wxRadioButton *chief = (wxRadioButton*) NULL;
+        wxRadioButton *chief = NULL;
         wxWindowList::compatibility_iterator node = parent->GetChildren().GetLast();
         while (node)
         {