X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa50e893ee119e4c66414d7f194d89a3d9a23819..69231000be8d209bb8ea1f6aaa1ff665a270e351:/src/msw/listctrl.cpp diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 633cc77ce8..9aab81658d 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -190,6 +190,10 @@ bool wxListCtrl::Create(wxWindow *parent, DWORD wstyle = WS_VISIBLE | WS_CHILD | WS_TABSTOP | LVS_SHAREIMAGELISTS | LVS_SHOWSELALWAYS; + + if ( m_windowStyle & wxCLIP_SIBLINGS ) + wstyle |= WS_CLIPSIBLINGS; + if ( wxStyleHasBorder(m_windowStyle) ) wstyle |= WS_BORDER; m_baseStyle = wstyle;