]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listctrl.h
RemoveChild added for correct disposal of scrollbar
[wxWidgets.git] / include / wx / listctrl.h
index 63d8e981b020b1558a3048e1ac25eea11ba0ccf3..4609981ce7629372098f41c19f3ea14da1b894b4 100644 (file)
@@ -300,7 +300,7 @@ public:
                 const wxValidator& validator = wxDefaultValidator,
                 const wxString &name = "listctrl" )
     {
-        Create(parent, id, pos, size, style, wxDefaultValidator, name);
+        Create(parent, id, pos, size, style, validator, name);
     }
 
     // focus/selection stuff