X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..7e08bc5acd8ee4e2f0756f50bf98937a118f9951:/include/wx/univ/stattext.h diff --git a/include/wx/univ/stattext.h b/include/wx/univ/stattext.h index 888ade81f6..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 WXDLLIMPEXP_CORE 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);