X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/958d3a7e4bd56371cedcb3836aed397eae0b06d3..0d90d6ea7a007332aa75779f90b30ed39872e494:/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 {