]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docmdi.h
Cured memory leak report in wxDateTime; wxGLCanvas corrections
[wxWidgets.git] / include / wx / docmdi.h
index 5c58befd40f1cf07173a165989f17a03d1fa2761..0216cacdd7dd3a5e3cbf1a319a5142cc59bf3d10 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/defs.h"
 
-#if wxUSE_MDI_ARCHITECTURE
+#if wxUSE_MDI_ARCHITECTURE && wxUSE_DOC_VIEW_ARCHITECTURE
 
 #include "wx/docview.h"
 #include "wx/mdi.h"
@@ -85,6 +85,6 @@ DECLARE_EVENT_TABLE()
 
 #endif
     // wxUSE_MDI_ARCHITECTURE
-    
+
 #endif
     // _WX_DOCMDI_H_