diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 83858c0e9d..98060e7927 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2697,11 +2697,9 @@ bool wxListCtrl::Create(wxWindow *parent, { style = style | wxLC_LIST; } - - // - // 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 ); + + bool ret = wxControl::Create( parent, id, pos, size, style, validator, name ); + if (style & wxSUNKEN_BORDER) style -= wxSUNKEN_BORDER;