X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/958d3a7e4bd56371cedcb3836aed397eae0b06d3..3f687275132427f4b9b0d9e0a3cbf7ff2fc3e330:/samples/checklst/checklst.cpp 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 {