From: Bart A.M. Jourquin Date: Fri, 7 Jan 2000 10:50:12 +0000 (+0000) Subject: deleting the 'validator' param in call to wxControl::Create. To be further fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fc3463cc7e63df36366dc3b2503b635f9b209097?ds=inline deleting the 'validator' param in call to wxControl::Create. To be further fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 22f0a54fcd..83858c0e9d 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -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;