X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da0634c1401743089b1d8be20f9b6bdad0e8085b..55ccdb93e4ae4b606a4068cb37492c1ec3ed77a6:/include/wx/cocoa/radiobut.h?ds=sidebyside diff --git a/include/wx/cocoa/radiobut.h b/include/wx/cocoa/radiobut.h index 0dbf288c90..ccd502b474 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,6 +14,10 @@ #include "wx/cocoa/NSButton.h" +class WXDLLEXPORT wxRadioButton; + +WX_DECLARE_LIST(wxRadioButton, wxRadioButtonList); + // ======================================================================== // wxRadioButton // ======================================================================== @@ -26,7 +30,7 @@ class WXDLLEXPORT wxRadioButton: public wxControl, protected wxCocoaNSButton // initialization // ------------------------------------------------------------------------ public: - wxRadioButton() { } + wxRadioButton() { m_radioMaster = NULL; } wxRadioButton(wxWindow *parent, wxWindowID winid, const wxString& label, const wxPoint& pos = wxDefaultPosition, @@ -58,6 +62,9 @@ protected: public: virtual void SetValue(bool); virtual bool GetValue() const; +protected: + wxRadioButtonList m_radioSlaves; + wxRadioButton *m_radioMaster; }; #endif // __WX_COCOA_RADIOBUT_H__