]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/checklst.h
Fixed missing paint events when overriding DoMoveWindow()
[wxWidgets.git] / include / wx / os2 / checklst.h
index 59a7951d67a3ed75f699c6e50ad4b56d14b94951..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
@@ -32,11 +34,7 @@ public:
                  const wxString choices[] = NULL,
                  long style = 0,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-                 const wxValidator* validator = wxDefaultValidator,
-#  else
                  const wxValidator& validator = wxDefaultValidator,
-#  endif
 #endif
                  const wxString& name = wxListBoxNameStr);