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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user