]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobut.cpp
fixing osx_carbon
[wxWidgets.git] / src / motif / radiobut.cpp
index 4ac378762e70128b379287e333063aadf6ff271f..d6832a3f6df942ca99731bb237740045cf506b28 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#ifdef __VMS
-#define XtDisplay XTDISPLAY
-#endif
-
 #include "wx/radiobut.h"
 
 #ifndef WX_PRECOMP
@@ -36,8 +32,6 @@
 void wxRadioButtonCallback (Widget w, XtPointer clientData,
                             XmToggleButtonCallbackStruct * cbs);
 
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
 wxRadioButton::wxRadioButton()
 {
 }
@@ -95,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)
         {