X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d803176a8ef561c8cfcde00649472b7e07f60c35..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/cocoa/checkbox.h diff --git a/include/wx/cocoa/checkbox.h b/include/wx/cocoa/checkbox.h index 4ce89830fc..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 licence +// 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() @@ -59,7 +59,8 @@ public: virtual void SetValue(bool); virtual bool GetValue() const; virtual void SetLabel(const wxString& label); - virtual wxString GetLabel() const { return GetTitle(); } + virtual wxString GetLabel() const; + protected: virtual void DoSet3StateValue(wxCheckBoxState state); virtual wxCheckBoxState DoGet3StateValue() const;