X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe161a2685012cf90bb5bfe95f2260aee71d8ad7..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/mac/carbon/stattext.h?ds=inline diff --git a/include/wx/mac/carbon/stattext.h b/include/wx/mac/carbon/stattext.h index 95c32a82b9..2935319c47 100644 --- a/include/wx/mac/carbon/stattext.h +++ b/include/wx/mac/carbon/stattext.h @@ -12,10 +12,6 @@ #ifndef _WX_STATTEXT_H_ #define _WX_STATTEXT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "stattext.h" -#endif - class WXDLLEXPORT wxStaticText: public wxStaticTextBase { public: @@ -40,11 +36,16 @@ public: // accessors 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) };