X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..5b077d483bcd47bcd1c3e89a9adc1d6b1a44e046:/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 ;