X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..af2372b95d4aca14e97c1ffaca6954f136513589:/include/wx/cocoa/radiobut.h diff --git a/include/wx/cocoa/radiobut.h b/include/wx/cocoa/radiobut.h index bbd0b95955..4a78b617c2 100644 --- a/include/wx/cocoa/radiobut.h +++ b/include/wx/cocoa/radiobut.h @@ -4,7 +4,6 @@ // Author: David Elliott // Modified by: // Created: 2003/03/18 -// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -16,12 +15,12 @@ class WXDLLIMPEXP_FWD_CORE wxRadioButton; -WX_DECLARE_LIST(wxRadioButton, wxRadioButtonList); +WX_DECLARE_EXPORTED_LIST(wxRadioButton, wxRadioButtonList); // ======================================================================== // wxRadioButton // ======================================================================== -class WXDLLEXPORT wxRadioButton: public wxControl, protected wxCocoaNSButton +class WXDLLIMPEXP_CORE wxRadioButton: public wxControl, protected wxCocoaNSButton { DECLARE_DYNAMIC_CLASS(wxRadioButton) DECLARE_EVENT_TABLE() @@ -56,12 +55,16 @@ public: // ------------------------------------------------------------------------ protected: virtual void Cocoa_wxNSButtonAction(void); +private: + void Cocoa_DeselectOtherButtonsInTheGroup(void); // ------------------------------------------------------------------------ // 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;