From: Vadim Zeitlin Date: Sun, 19 Mar 2000 00:57:10 +0000 (+0000) Subject: don't compile docvwmdi sample if !wxUSE_MDI_ARCHITECTURE X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/feea7c52e97ce11593a068ac4e99057300f56b7e 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 --- diff --git a/samples/docvwmdi/docview.cpp b/samples/docvwmdi/docview.cpp index dad7ffd133..9889a2f146 100644 --- a/samples/docvwmdi/docview.cpp +++ b/samples/docvwmdi/docview.cpp @@ -33,6 +33,10 @@ #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in setup.h! #endif +#if !wxUSE_MDI_ARCHITECTURE +#error You must set wxUSE_MDI_ARCHITECTURE to 1 in setup.h! +#endif + #include "docview.h" #include "doc.h" #include "view.h"