X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe161a2685012cf90bb5bfe95f2260aee71d8ad7..79dbea214678efdf41577c758f49c3275a980733:/include/wx/msw/stattext.h diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index c42f65552c..0ceef4c977 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;