X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f263f4542f0288a9aa2228f27f43e12a888e5a4..d1af991f497a5e95d8f8ab15a4e4a4a4c375928f:/include/wx/gtk/checklst.h

diff --git a/include/wx/gtk/checklst.h b/include/wx/gtk/checklst.h
index b1856957a5..8022f35658 100644
--- a/include/wx/gtk/checklst.h
+++ b/include/wx/gtk/checklst.h
@@ -16,6 +16,9 @@
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_CHECKLISTBOX
+
 #include "wx/object.h"
 #include "wx/list.h"
 #include "wx/control.h"
@@ -41,7 +44,7 @@ public:
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
             int nStrings = 0,
-            const wxString choices[] = (const wxString *) NULL,
+            const wxString *choices = (const wxString *)NULL,
             long style = 0,
             const wxValidator& validator = wxDefaultValidator,
             const wxString& name = wxListBoxNameStr);
@@ -53,4 +56,5 @@ public:
 };
 
 #endif
-        //__GTKCHECKLISTH__
+
+#endif   //__GTKCHECKLISTH__