X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c4e8f384d7c9a2e1f31e9602917f2d1318de01f..6becc1e617c65cde68e7e6fcdad27e366bf51792:/include/wx/cocoa/radiobut.h diff --git a/include/wx/cocoa/radiobut.h b/include/wx/cocoa/radiobut.h index ccd502b474..9225022b35 100644 --- a/include/wx/cocoa/radiobut.h +++ b/include/wx/cocoa/radiobut.h @@ -14,14 +14,14 @@ #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 // ======================================================================== -class WXDLLEXPORT wxRadioButton: public wxControl, protected wxCocoaNSButton +class WXDLLIMPEXP_CORE wxRadioButton: public wxControl, protected wxCocoaNSButton { DECLARE_DYNAMIC_CLASS(wxRadioButton) DECLARE_EVENT_TABLE() @@ -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;