]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/radiobut.h
reverted Julian's r44600, it broke help window behavior so that it prevented apps...
[wxWidgets.git] / include / wx / cocoa / radiobut.h
index 5f4019e9caedeef0483f2163b9c3d384598304a0..72e6c08fcc4c550a23417d61257fc46175467626 100644 (file)
@@ -4,9 +4,9 @@
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/03/18
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/03/18
-// RCS-ID:      $Id:
+// RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_RADIOBUT_H__
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_RADIOBUT_H__
@@ -14,9 +14,9 @@
 
 #include "wx/cocoa/NSButton.h"
 
 
 #include "wx/cocoa/NSButton.h"
 
-class WXDLLEXPORT wxRadioButton;
+class WXDLLIMPEXP_FWD_CORE wxRadioButton;
 
 
-WX_DECLARE_LIST(wxRadioButton, wxRadioButtonList);
+WX_DECLARE_EXPORTED_LIST(wxRadioButton, wxRadioButtonList);
 
 // ========================================================================
 // wxRadioButton
 
 // ========================================================================
 // wxRadioButton
@@ -56,12 +56,16 @@ public:
 // ------------------------------------------------------------------------
 protected:
     virtual void Cocoa_wxNSButtonAction(void);
 // ------------------------------------------------------------------------
 protected:
     virtual void Cocoa_wxNSButtonAction(void);
+private:
+    void Cocoa_DeselectOtherButtonsInTheGroup(void);
 // ------------------------------------------------------------------------
 // Implementation
 // ------------------------------------------------------------------------
 public:
     virtual void SetValue(bool);
     virtual bool GetValue() const;
 // ------------------------------------------------------------------------
 // Implementation
 // ------------------------------------------------------------------------
 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;