X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39bc0347fda3505f7fb43447f21efd84b9e00b3c..a01ada0599acdc11497850c4c8e846d3f237bf91:/include/wx/univ/stattext.h diff --git a/include/wx/univ/stattext.h b/include/wx/univ/stattext.h index 401772e791..8f3fc62edd 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,9 +56,6 @@ 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);