From: Michael Wetherell Date: Fri, 20 May 2005 21:28:06 +0000 (+0000) Subject: The checklst samples requires wxUSE_CHECKLISTBOX X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f62f161879ef8b236b0a014d38ab489522ffc111 The checklst samples requires wxUSE_CHECKLISTBOX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 {