X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe161a2685012cf90bb5bfe95f2260aee71d8ad7..d44d0cbd7343e36ddd3657dd97cd5eb7018d2585:/include/wx/msw/stattext.h?ds=inline diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index c42f65552c..6f6016f11c 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; @@ -47,6 +51,7 @@ protected: int sizeFlags = wxSIZE_AUTO); virtual wxSize DoGetBestSize() const; virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; + virtual WXHBRUSH DoMSWControlColor(WXHDC pDC, wxColour colBg); DECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText) };