]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/radiobut.h
Fix crash when auto-sizing a wxDataViewCtrl column.
[wxWidgets.git] / include / wx / cocoa / radiobut.h
index 2975bcaffbcf7dd2ca59d932c71dcc1b67ed5199..4a78b617c20abfb88a8d653249bfe1c3a1682a69 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/03/18
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/03/18
-// RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 // Copyright:   (c) 2003 David Elliott
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 class WXDLLIMPEXP_FWD_CORE wxRadioButton;
 
 
 class WXDLLIMPEXP_FWD_CORE wxRadioButton;
 
-WX_DECLARE_LIST(wxRadioButton, wxRadioButtonList);
+WX_DECLARE_EXPORTED_LIST(wxRadioButton, wxRadioButtonList);
 
 // ========================================================================
 // wxRadioButton
 // ========================================================================
 
 // ========================================================================
 // wxRadioButton
 // ========================================================================
-class WXDLLEXPORT wxRadioButton: public wxControl, protected wxCocoaNSButton
+class WXDLLIMPEXP_CORE wxRadioButton: public wxControl, protected wxCocoaNSButton
 {
     DECLARE_DYNAMIC_CLASS(wxRadioButton)
     DECLARE_EVENT_TABLE()
 {
     DECLARE_DYNAMIC_CLASS(wxRadioButton)
     DECLARE_EVENT_TABLE()
@@ -64,6 +63,8 @@ private:
 public:
     virtual void SetValue(bool);
     virtual bool GetValue() const;
 public:
     virtual void SetValue(bool);
     virtual bool GetValue() const;
+    virtual void SetLabel(const wxString& label);
+    virtual wxString GetLabel() const;
 protected:
     wxRadioButtonList m_radioSlaves;
     wxRadioButton *m_radioMaster;
 protected:
     wxRadioButtonList m_radioSlaves;
     wxRadioButton *m_radioMaster;