X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fabb57533169f2f75367e0d120c762518548890..8870c26ecb03e87065fdb3617b8c47ca3c923a53:/include/wx/motif/mdi.h?ds=sidebyside diff --git a/include/wx/motif/mdi.h b/include/wx/motif/mdi.h index 74b483d5fa..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(); } @@ -180,6 +181,10 @@ public: virtual void Activate(); virtual bool IsIconized() const ; + // Is the frame maximized? Returns TRUE for + // wxMDIChildFrame due to the tabbed implementation. + virtual bool IsMaximized(void) const ; + bool Show(bool show); inline WXWidget GetMainWidget() const { return m_mainWidget; }; @@ -222,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); }