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/trunk@53727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-05-23 18:56:24 +00:00
parent 8c7da4a6b2
commit 9a8d75f1ed

View File

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