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
This commit is contained in:
Vadim Zeitlin
2008-05-23 18:56:24 +00:00
parent 7d75140ee8
commit 20a014cb69

View File

@@ -528,7 +528,7 @@ void wxListCtrl::SetWindowStyleFlag(long flag)
{ {
if ( flag != m_windowStyle ) if ( flag != m_windowStyle )
{ {
m_windowStyle = flag; wxControl::SetWindowStyleFlag(flag);
UpdateStyle(); UpdateStyle();