X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a290fa5a7deebe9d96c0c0089d18e27d4bd9b624..0516de2cdb33937bab49c7b381cecd25c5e50ef2:/include/wx/univ/stattext.h diff --git a/include/wx/univ/stattext.h b/include/wx/univ/stattext.h index 0961ba67ab..401772e791 100644 --- a/include/wx/univ/stattext.h +++ b/include/wx/univ/stattext.h @@ -12,10 +12,6 @@ #ifndef _WX_UNIV_STATTEXT_H_ #define _WX_UNIV_STATTEXT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "univstattext.h" -#endif - class WXDLLEXPORT wxStaticText : public wxStaticTextBase { public: @@ -55,8 +51,6 @@ public: virtual void SetLabel(const wxString& label); - virtual bool HasTransparentBackground() { return true; } - virtual bool IsFocused() const { return false; } protected: @@ -66,6 +60,9 @@ protected: // draw the control virtual void DoDraw(wxControlRenderer *renderer); + virtual void DoSetLabel(const wxString& str); + virtual wxString DoGetLabel() const; + DECLARE_ABSTRACT_CLASS(wxStaticText) };