diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 76c1a290e8..09d6fac5df 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4663,7 +4663,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 );