X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..dc9e1e56917ad9b448bd0087a2d1ae3c632c4db1:/include/wx/msw/stattext.h diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index dbb3646a0a..432987cf5e 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -45,6 +45,9 @@ class WXDLLEXPORT wxStaticText: public wxControl // accessors void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + void SetSize(const wxSize& size) { wxWindow::SetSize(size); } void SetLabel(const wxString&); // operations