]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/checklst.h
More OS/2 stubs and caret fix
[wxWidgets.git] / include / wx / gtk1 / checklst.h
index 41417e2af40a69d810b8b9446e18944b2a3ee4d7..8022f35658a92ec4886f7cda8f6571920919abb0 100644 (file)
@@ -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[] = (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__