X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe161a2685012cf90bb5bfe95f2260aee71d8ad7..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/msw/stattext.h?ds=inline diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index c42f65552c..6194187606 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -40,6 +40,10 @@ public: long style = 0, const wxString& name = wxStaticTextNameStr); + // override some methods to resize the window properly + virtual void SetLabel(const wxString& label); + virtual bool SetFont( const wxFont &font ); + protected: // implement/override some base class virtuals virtual wxBorder GetDefaultBorder() const; @@ -48,6 +52,7 @@ protected: virtual wxSize DoGetBestSize() const; virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; + DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText) };