X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa50e893ee119e4c66414d7f194d89a3d9a23819..804c69d3d193d0d821aea227524f8f5d96ecc309:/src/msw/listctrl.cpp?ds=sidebyside 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;