X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f63ec3f93070e6824da775cf8d2565a025c2406..8870c26ecb03e87065fdb3617b8c47ca3c923a53:/include/wx/motif/mdi.h diff --git a/include/wx/motif/mdi.h b/include/wx/motif/mdi.h index 557f0044db..a45aa1e434 100644 --- a/include/wx/motif/mdi.h +++ b/include/wx/motif/mdi.h @@ -155,6 +155,7 @@ public: virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) { wxWindow::SetSize(rect, sizeFlags); } virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + virtual void SetSize(int width, int height) { SetSize(-1, -1, width, height, wxSIZE_USE_EXISTING); } void GetSize(int *width, int *height) const; wxSize GetSize() const { return wxWindow::GetSize(); } @@ -226,6 +227,7 @@ class WXDLLEXPORT wxMDIClientWindow: public wxNotebook 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 SetClientSize(int width, int height); void SetClientSize(const wxSize& size) { wxWindow::SetClientSize(size); }