]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/checklst.h
MSW fixes; added wxUSE_XPM to wxUniv's setup.h so now widgets sample works
[wxWidgets.git] / include / wx / os2 / checklst.h
index 8daaf42fc862c158e08bcc8330ddda1ad4b66423..f669ef3cb1c67a631333773de3ad4d27d601f3d5 100644 (file)
@@ -17,6 +17,8 @@
 
 #include "wx/setup.h"
 
+class wxOwnerDrawn;    // so the compiler knows, it is a class.
+
 class wxCheckListBoxItem; // fwd decl, define in checklst.cpp
 
 class WXDLLEXPORT wxCheckListBox : public wxListBox
@@ -31,7 +33,9 @@ public:
                  int nStrings = 0,
                  const wxString choices[] = NULL,
                  long style = 0,
+#if wxUSE_VALIDATORS
                  const wxValidator& validator = wxDefaultValidator,
+#endif
                  const wxString& name = wxListBoxNameStr);
 
   // override base class virtuals