X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..853b6cd0e4699dbec2c600d9d0390bdb53150a5f:/include/wx/univ/stattext.h diff --git a/include/wx/univ/stattext.h b/include/wx/univ/stattext.h index 888ade81f6..7ee5cac3ff 100644 --- a/include/wx/univ/stattext.h +++ b/include/wx/univ/stattext.h @@ -12,7 +12,9 @@ #ifndef _WX_UNIV_STATTEXT_H_ #define _WX_UNIV_STATTEXT_H_ -class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase +#include "wx/generic/stattextg.h" + +class WXDLLIMPEXP_CORE wxStaticText : public wxGenericStaticText { public: wxStaticText() { } @@ -54,16 +56,13 @@ public: virtual bool IsFocused() const { return false; } protected: - // calculate the optimal size for the label - virtual wxSize DoGetBestClientSize() const; - // draw the control virtual void DoDraw(wxControlRenderer *renderer); virtual void DoSetLabel(const wxString& str); virtual wxString DoGetLabel() const; - DECLARE_ABSTRACT_CLASS(wxStaticText) + DECLARE_DYNAMIC_CLASS(wxStaticText) }; #endif // _WX_UNIV_STATTEXT_H_