X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da0634c1401743089b1d8be20f9b6bdad0e8085b..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/cocoa/checkbox.h diff --git a/include/wx/cocoa/checkbox.h b/include/wx/cocoa/checkbox.h index 9eddf4ed00..a65004c33d 100644 --- a/include/wx/cocoa/checkbox.h +++ b/include/wx/cocoa/checkbox.h @@ -4,9 +4,9 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_CHECKBOX_H__ @@ -17,7 +17,7 @@ // ======================================================================== // wxCheckBox // ======================================================================== -class WXDLLEXPORT wxCheckBox: public wxCheckBoxBase , protected wxCocoaNSButton +class WXDLLIMPEXP_CORE wxCheckBox: public wxCheckBoxBase , protected wxCocoaNSButton { DECLARE_DYNAMIC_CLASS(wxCheckBox) DECLARE_EVENT_TABLE() @@ -58,6 +58,12 @@ protected: public: virtual void SetValue(bool); virtual bool GetValue() const; + virtual void SetLabel(const wxString& label); + virtual wxString GetLabel() const; + +protected: + virtual void DoSet3StateValue(wxCheckBoxState state); + virtual wxCheckBoxState DoGet3StateValue() const; }; #endif // __WX_COCOA_CHECKBOX_H__