From 20a014cb694ee9c0cd27437009ad288c81db2603 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 23 May 2008 18:56:24 +0000 Subject: [PATCH] call base class version from SetWindowStyleFlag() to update common styles such as border ones too (closes #9480) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index cb686ebf52..a4c81fe0b8 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -528,7 +528,7 @@ void wxListCtrl::SetWindowStyleFlag(long flag) { if ( flag != m_windowStyle ) { - m_windowStyle = flag; + wxControl::SetWindowStyleFlag(flag); UpdateStyle();