X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b412f9be504e07559a98ae234f30bb1bd0b2aa1f..d3dcceb4363163ea8eeba75234ac938e690230c8:/include/wx/motif/statbox.h diff --git a/include/wx/motif/statbox.h b/include/wx/motif/statbox.h index 4f8e005eec..5ebf48dd4e 100644 --- a/include/wx/motif/statbox.h +++ b/include/wx/motif/statbox.h @@ -52,6 +52,7 @@ class WXDLLEXPORT wxStaticBox: public wxControl void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) { wxWindow::SetSize(rect, sizeFlags); } void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + virtual void SetSize(int width, int height) { SetSize(-1, -1, width, height, wxSIZE_USE_EXISTING); } void SetLabel(const wxString& label); wxString GetLabel() const;