X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39bc0347fda3505f7fb43447f21efd84b9e00b3c..c6ea1fdaf924be4ee49a19d12f76e4fcd257bb0a:/include/wx/univ/stattext.h diff --git a/include/wx/univ/stattext.h b/include/wx/univ/stattext.h index 401772e791..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 WXDLLEXPORT 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_