X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/065e208ec09e3d08d51d9604497f92f53c210f93..9c112555198f51fcec71106530cddba95a17f3dc:/src/cocoa/mdi.mm diff --git a/src/cocoa/mdi.mm b/src/cocoa/mdi.mm index 40dfa87d69..015445cccd 100644 --- a/src/cocoa/mdi.mm +++ b/src/cocoa/mdi.mm @@ -10,6 +10,9 @@ ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" + +#if wxUSE_MDI + #ifndef WX_PRECOMP #include "wx/log.h" #include "wx/mdi.h" @@ -23,7 +26,7 @@ // #import // #import -#include +#include "wx/listimpl.cpp" WX_DEFINE_LIST(wxCocoaMDIChildFrameList); WX_DECLARE_HASH_MAP(int, wxMDIChildFrame*, wxIntegerHash, wxIntegerEqual, wxIntMDIChildFrameHashMap); @@ -333,3 +336,4 @@ bool wxMDIClientWindow::CreateClient( wxMDIParentFrame *parent, long style) return false; } +#endif