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:
parent
8536082d32
commit
fc3463cc7e
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user