don't compile docvwmdi sample if !wxUSE_MDI_ARCHITECTURE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-03-19 00:57:10 +00:00
parent 3b415ba4cd
commit feea7c52e9

View File

@ -33,6 +33,10 @@
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in setup.h! #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in setup.h!
#endif #endif
#if !wxUSE_MDI_ARCHITECTURE
#error You must set wxUSE_MDI_ARCHITECTURE to 1 in setup.h!
#endif
#include "docview.h" #include "docview.h"
#include "doc.h" #include "doc.h"
#include "view.h" #include "view.h"