X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40bef9f5473c34d5b359eacff4f15f6b0beffea..1bf37bf5b1d13f681dbdd4d303356a4bcd1d8898:/samples/display/display.cpp diff --git a/samples/display/display.cpp b/samples/display/display.cpp index 0744d063d4..1e1b8f2038 100644 --- a/samples/display/display.cpp +++ b/samples/display/display.cpp @@ -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"