X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..508b6523350b4b1c4b2518b6c8c69e5d161f26c5:/include/wx/mac/carbon/stattext.h?ds=sidebyside diff --git a/include/wx/mac/carbon/stattext.h b/include/wx/mac/carbon/stattext.h index dd127f745a..fc69ab3457 100644 --- a/include/wx/mac/carbon/stattext.h +++ b/include/wx/mac/carbon/stattext.h @@ -12,7 +12,7 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -class WXDLLEXPORT wxStaticText: public wxStaticTextBase +class WXDLLIMPEXP_CORE wxStaticText: public wxStaticTextBase { public: wxStaticText() { } @@ -38,10 +38,14 @@ public: void SetLabel( const wxString &str ) ; bool SetFont( const wxFont &font ); + virtual bool AcceptsFocus() const { return FALSE; } + protected : + virtual wxString DoGetLabel() const; + virtual void DoSetLabel(const wxString& str); + virtual wxSize DoGetBestSize() const ; - virtual bool AcceptsFocus() const { return FALSE; } DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText) };