diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 02a2580a92..51af844c67 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4717,7 +4717,7 @@ bool wxGenericListCtrl::Create(wxWindow *parent, return FALSE; // don't create the inner window with the border - style &= ~wxSUNKEN_BORDER; + style &= ~wxBORDER_MASK; m_mainWin = new wxListMainWindow( this, -1, wxPoint(0,0), size, style );