]> git.saurik.com Git - wxWidgets.git/commitdiff
deleting the 'validator' param in call to wxControl::Create. To be further fixed
authorBart A.M. Jourquin <bart.jourquin@fucam.ac.be>
Fri, 7 Jan 2000 10:50:12 +0000 (10:50 +0000)
committerBart A.M. Jourquin <bart.jourquin@fucam.ac.be>
Fri, 7 Jan 2000 10:50:12 +0000 (10:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index 22f0a54fcddde3691bf7616393d418203c4ccf70..83858c0e9db98edcf60263eee67a3d9dc2c92f76 100644 (file)
@@ -2698,8 +2698,11 @@ bool wxListCtrl::Create(wxWindow *parent,
         style = style | wxLC_LIST;
     }
 
-    bool ret = wxControl::Create( parent, id, pos, size, style, validator, name );
-
+    //
+    // FIXME BJ: as wxControl derives from wxWindow, a validator cannot be passed as parameter
+    //  bool ret = wxControl::Create( parent, id, pos, size, style, validator, name );
+    bool ret = wxControl::Create( parent, id, pos, size, style, name );
+    
     if (style & wxSUNKEN_BORDER)
         style -= wxSUNKEN_BORDER;