From 8f6df1fa784054f2d29619bff166547cb3468e29 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Dec 2002 19:53:20 +0000 Subject: [PATCH] test that wxUSE_RESOURCES == 1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/resource/resource.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/resource/resource.cpp b/samples/resource/resource.cpp index e29236c867..f076602f16 100644 --- a/samples/resource/resource.cpp +++ b/samples/resource/resource.cpp @@ -24,6 +24,10 @@ #include "wx/wx.h" #endif +#if !wxUSE_RESOURCES + #error "You should set wxUSE_RESOURCES to 1 to compile this sample" +#endif + #if wxUSE_UNICODE #error "This sample can't be compiled in Unicode mode." #endif // wxUSE_UNICODE