X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..4a1acb45b0fd4bd7fa4a318f77b912cfccc56931:/include/wx/msw/button.h diff --git a/include/wx/msw/button.h b/include/wx/msw/button.h index 34e0824d6d..12352beb39 100644 --- a/include/wx/msw/button.h +++ b/include/wx/msw/button.h @@ -43,6 +43,10 @@ class WXDLLEXPORT wxButton: public wxControl const wxString& name = wxButtonNameStr); virtual 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); } + virtual void SetDefault(void); virtual void SetLabel(const wxString& label); virtual wxString GetLabel(void) const ;