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
This commit is contained in:
Bart A.M. Jourquin 2000-01-07 10:50:12 +00:00
parent 8536082d32
commit fc3463cc7e

View File

@ -2698,8 +2698,11 @@ bool wxListCtrl::Create(wxWindow *parent,
style = style | wxLC_LIST; 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) if (style & wxSUNKEN_BORDER)
style -= wxSUNKEN_BORDER; style -= wxSUNKEN_BORDER;