]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/radiobut.h
nicer version compilation fix for wxUSE_WCHAR_T=0 (why should we duplicate definition...
[wxWidgets.git] / include / wx / mac / radiobut.h
index 6a2c5b1c6a8790051aac5bec1e3af4abff0d4da1..eb92a106145a35c850c696a2cf214f37853f3718 100644 (file)
 #pragma interface "radiobut.h"
 #endif
 
-#include "wx/control.h"
-
-WXDLLEXPORT_DATA(extern const char*) wxRadioButtonNameStr;
-
 class WXDLLEXPORT wxRadioButton: public wxControl
 {
+  DECLARE_DYNAMIC_CLASS(wxRadioButton)
+ protected:
 public:
     inline wxRadioButton() {}
     inline wxRadioButton(wxWindow *parent, wxWindowID id,
@@ -51,14 +49,9 @@ public:
     wxRadioButton *AddInCycle(wxRadioButton *cycle);
     inline wxRadioButton *NextInCycle() {return m_cycle;}
     
-    void OnIdle( wxIdleEvent &event );
-
-protected:
+  protected:
+  
     wxRadioButton *m_cycle;
-
-private:      
-    DECLARE_EVENT_TABLE()
-    DECLARE_DYNAMIC_CLASS(wxRadioButton)
 };
 
 // Not implemented