X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..ce3ed50dbe32d118321082db84c3a9abb047d5b7:/include/wx/msw/mdi.h diff --git a/include/wx/msw/mdi.h b/include/wx/msw/mdi.h index 658aa6c63d..35879cd380 100644 --- a/include/wx/msw/mdi.h +++ b/include/wx/msw/mdi.h @@ -69,6 +69,7 @@ class WXDLLEXPORT wxMDIParentFrame: public wxFrame // and status bar size have been subtracted. If you want to manage your own // toolbar(s), don't call SetToolBar. void GetClientSize(int *width, int *height) const; + wxSize GetClientSize() const { return wxWindow::GetClientSize(); } // Get the active MDI child window (Windows only) wxMDIChildFrame *GetActiveChild(void) const ; @@ -146,8 +147,12 @@ class WXDLLEXPORT wxMDIChildFrame: public wxFrame // Set menu bar void SetMenuBar(wxMenuBar *menu_bar); + void SetClientSize(int width, int height); + void SetClientSize(const wxSize& sz) { wxWindow::SetClientSize(sz); } + void GetPosition(int *x, int *y) const ; + wxPoint GetPosition() const { return wxWindow::GetPosition(); } // MDI operations virtual void Maximize(void);