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:
parent
8c7da4a6b2
commit
9a8d75f1ed
@ -541,7 +541,7 @@ void wxListCtrl::SetWindowStyleFlag(long flag)
|
|||||||
{
|
{
|
||||||
if ( flag != m_windowStyle )
|
if ( flag != m_windowStyle )
|
||||||
{
|
{
|
||||||
m_windowStyle = flag;
|
wxControl::SetWindowStyleFlag(flag);
|
||||||
|
|
||||||
UpdateStyle();
|
UpdateStyle();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user