From: Vadim Zeitlin Date: Fri, 10 Jan 2003 23:24:44 +0000 (+0000) Subject: use MSWCreateControl() instead of duplicating its code X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/29020b904885483adb428cbaf7aa30077f7c0cf2 use MSWCreateControl() instead of duplicating its code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 20c49b73a4..27deb48390 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: stattext.h +// Name: wx/msw/stattext.h // Purpose: wxStaticText class // Author: Julian Smart // Modified by: @@ -45,9 +45,11 @@ public: virtual bool SetFont( const wxFont &font ); protected: + // implement/override some base class virtuals virtual void DoSetSize(int x, int y, int w, int h, int sizeFlags = wxSIZE_AUTO); virtual wxSize DoGetBestSize() const; + virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; DECLARE_DYNAMIC_CLASS(wxStaticText) };