]> git.saurik.com Git - wxWidgets.git/commitdiff
The checklst samples requires wxUSE_CHECKLISTBOX
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Fri, 20 May 2005 21:28:06 +0000 (21:28 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Fri, 20 May 2005 21:28:06 +0000 (21:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/checklst/checklst.cpp

index e09683c63c86aeac3cd5bf262fa48f2166f78b5b..4d5eb27c418b52eba67e04f3ac7bd7a83364b8a6 100644 (file)
 #include  "wx/menuitem.h"
 #include  "wx/checklst.h"
 
+#if !wxUSE_CHECKLISTBOX
+    #error "This sample can't be built without wxUSE_CHECKLISTBOX"
+#endif // wxUSE_CHECKLISTBOX
+
 // Define a new application type
 class CheckListBoxApp: public wxApp
 {