From 098963c35086b330add226c66ff14072885abd0d Mon Sep 17 00:00:00 2001 From: "Bart A.M. Jourquin" Date: Fri, 7 Jan 2000 14:14:03 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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;