// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
- //#pragma implementation
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#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
{