]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docmdi.h
Added DECLARE_LOCAL_EVENT_TYPE which doesn't use WXDLLEXPORT. This is
[wxWidgets.git] / include / wx / docmdi.h
index 1fd76e1abead436d325d13ee0357b29355f04fd6..0216cacdd7dd3a5e3cbf1a319a5142cc59bf3d10 100644 (file)
 #pragma interface "docmdi.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_MDI_ARCHITECTURE && wxUSE_DOC_VIEW_ARCHITECTURE
+
 #include "wx/docview.h"
 #include "wx/mdi.h"
 
@@ -79,5 +83,8 @@ DECLARE_EVENT_TABLE()
 
 };
 
+#endif
+    // wxUSE_MDI_ARCHITECTURE
+
 #endif
     // _WX_DOCMDI_H_