X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48580976469f7c46b730f96effacfa680e55e3cd..3be926e348e2d0a3a2c278b9f2cff7843971e0c9:/src/cocoa/mdi.mm diff --git a/src/cocoa/mdi.mm b/src/cocoa/mdi.mm index fdac990686..ef279856ca 100644 --- a/src/cocoa/mdi.mm +++ b/src/cocoa/mdi.mm @@ -1,18 +1,22 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: cocoa/mdi.mm +// Name: src/cocoa/mdi.mm // Purpose: wxMDIParentFrame, wxMDIChildFrame, wxMDIClientWindow // Author: David Elliott // Modified by: // Created: 2003/09/08 // RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows licence +// Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// #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" @@ -23,7 +27,7 @@ // #import // #import -#include +#include "wx/listimpl.cpp" WX_DEFINE_LIST(wxCocoaMDIChildFrameList); WX_DECLARE_HASH_MAP(int, wxMDIChildFrame*, wxIntegerHash, wxIntegerEqual, wxIntMDIChildFrameHashMap); @@ -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