X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/937cf827cae4537a354aec3db8a7c0f85fd3ca35..306dfc2b3d49ca45445bdfb2164fe1eea45ab321:/include/wx/generic/laywin.h?ds=sidebyside diff --git a/include/wx/generic/laywin.h b/include/wx/generic/laywin.h index 49afa3d91b..47182c627c 100644 --- a/include/wx/generic/laywin.h +++ b/include/wx/generic/laywin.h @@ -173,8 +173,15 @@ public: // The MDI client window is sized to whatever's left over. bool LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* rect = (wxRect*) NULL); - // mainWindow is sized to whatever's left over. - bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow = (wxWindow*) NULL); + // mainWindow is sized to whatever's left over. This function for backward + // compatibility; use LayoutWindow. + bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow = (wxWindow*) NULL) + { + return LayoutWindow(frame, mainWindow); + } + + // mainWindow is sized to whatever's left over. This function for backward + bool LayoutWindow(wxWindow* frame, wxWindow* mainWindow = (wxWindow*) NULL); }; #endif