]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/resource/resource.cpp
Applied patch [ 649599 ] Fixes bug 610850: Inserting a menu
[wxWidgets.git] / samples / resource / resource.cpp
index e29236c8675305329a4824e2796fe7b1c074f6fd..f076602f16f5390e33f8fd9091f447109e3b967b 100644 (file)
 #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