X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d0a5e34a0838a4bff109a58644539bf72243e65b..9eaadb1b8c3963bd1e2a8abc9ecc67375081dd05:/include/wx/cocoa/radiobut.h diff --git a/include/wx/cocoa/radiobut.h b/include/wx/cocoa/radiobut.h index 4a0be4f61e..72e6c08fcc 100644 --- a/include/wx/cocoa/radiobut.h +++ b/include/wx/cocoa/radiobut.h @@ -4,9 +4,9 @@ // Author: David Elliott // Modified by: // Created: 2003/03/18 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_RADIOBUT_H__ @@ -14,9 +14,9 @@ #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 @@ -56,12 +56,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;