X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d841895246c188d722bae08e9f37c7270bc56ea8..0fb2e8796de0ed029abdcdc370ffc600fe775888:/src/cocoa/mdi.mm diff --git a/src/cocoa/mdi.mm b/src/cocoa/mdi.mm index da1375de1e..ef279856ca 100644 --- a/src/cocoa/mdi.mm +++ b/src/cocoa/mdi.mm @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: cocoa/mdi.mm +// Name: src/cocoa/mdi.mm // Purpose: wxMDIParentFrame, wxMDIChildFrame, wxMDIClientWindow // Author: David Elliott // Modified by: @@ -10,9 +10,13 @@ ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" + +#if wxUSE_MDI + +#include "wx/mdi.h" + #ifndef WX_PRECOMP #include "wx/log.h" - #include "wx/mdi.h" #endif // WX_PRECOMP // #include "wx/cocoa/autorelease.h" @@ -320,7 +324,7 @@ wxMDIClientWindow::wxMDIClientWindow() } wxMDIClientWindow::wxMDIClientWindow(wxMDIParentFrame *parent, long style) -: wxWindow(parent, -1) + :wxWindow(parent, wxID_ANY) { } @@ -333,3 +337,4 @@ bool wxMDIClientWindow::CreateClient( wxMDIParentFrame *parent, long style) return false; } +#endif