From f62f161879ef8b236b0a014d38ab489522ffc111 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Fri, 20 May 2005 21:28:06 +0000 Subject: [PATCH] The checklst samples requires wxUSE_CHECKLISTBOX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/checklst/checklst.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/checklst/checklst.cpp b/samples/checklst/checklst.cpp index e09683c63c..4d5eb27c41 100644 --- a/samples/checklst/checklst.cpp +++ b/samples/checklst/checklst.cpp @@ -34,6 +34,10 @@ #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 {