]> git.saurik.com Git - wxWidgets.git/commitdiff
check that wxUSE_DISPLAY==1
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Aug 2003 11:15:56 +0000 (11:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 4 Aug 2003 11:15:56 +0000 (11:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/display/display.cpp

index 0744d063d4ca3cdbb7acbff63c184c628a15365e..1e1b8f20389fa7e28383a24334648fe7d594027c 100644 (file)
     #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"