From fc3463cc7e63df36366dc3b2503b635f9b209097 Mon Sep 17 00:00:00 2001 From: "Bart A.M. Jourquin" Date: Fri, 7 Jan 2000 10:50:12 +0000 Subject: [PATCH] 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 --- src/generic/listctrl.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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;