check that wxUSE_DISPLAY==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
900491787c
commit
799b5ec965
@ -24,6 +24,10 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#if !wxUSE_DISPLAY
|
||||
#error "To compile this sample you must build the library with wxUSE_DISPLAY set to 1"
|
||||
#endif
|
||||
|
||||
// for all others, include the necessary headers explicitly
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/app.h"
|
||||
|
Loading…
Reference in New Issue
Block a user