]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/mdi.mm
The mmedia contrib requires sys/soundcard.h on unix, so disable it on unix
[wxWidgets.git] / src / cocoa / mdi.mm
index 40dfa87d6961013b87bd01d2fa812d0b844057d7..015445cccd8dfc378c3dc8769ac507a799d31d79 100644 (file)
@@ -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 <AppKit/NSApplication.h>
 // #import <AppKit/NSView.h>
 
-#include <wx/listimpl.cpp>
+#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