]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobut.cpp
adding implementation for osx
[wxWidgets.git] / src / motif / radiobut.cpp
index 5c38eaf30d67c00913d61d272037ebc4b066c01b..d6832a3f6df942ca99731bb237740045cf506b28 100644 (file)
@@ -32,8 +32,6 @@
 void wxRadioButtonCallback (Widget w, XtPointer clientData,
                             XmToggleButtonCallbackStruct * cbs);
 
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
 wxRadioButton::wxRadioButton()
 {
 }
@@ -91,7 +89,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
     else
     {
         /* search backward for last group start */
-        wxRadioButton *chief = (wxRadioButton*) NULL;
+        wxRadioButton *chief = NULL;
         wxWindowList::compatibility_iterator node = parent->GetChildren().GetLast();
         while (node)
         {