X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f7b69e22002543877b0949b66ac3995a615780c..259c43f679ca655362b5a439e11c87fc0666d663:/include/wx/cocoa/checkbox.h diff --git a/include/wx/cocoa/checkbox.h b/include/wx/cocoa/checkbox.h index 2862e6e81d..4ce89830fc 100644 --- a/include/wx/cocoa/checkbox.h +++ b/include/wx/cocoa/checkbox.h @@ -6,7 +6,7 @@ // Created: 2003/03/16 // RCS-ID: $Id: // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_CHECKBOX_H__ @@ -58,6 +58,8 @@ protected: public: virtual void SetValue(bool); virtual bool GetValue() const; + virtual void SetLabel(const wxString& label); + virtual wxString GetLabel() const { return GetTitle(); } protected: virtual void DoSet3StateValue(wxCheckBoxState state); virtual wxCheckBoxState DoGet3StateValue() const;