check that we don't try to compile in GUI mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-05 10:52:10 +00:00
parent 9a08cd12bd
commit b11a23f38f

View File

@@ -17,6 +17,12 @@
// headers
// ----------------------------------------------------------------------------
#include <wx/defs.h>
#if wxUSE_GUI
#error "This sample can't be compiled in GUI mode."
#endif // wxUSE_GUI
#include <stdio.h>
#include <wx/string.h>