Don't change header window foreground colour in wxGenericListCtrl.

As calling wxGenericListCtrl::SetBackgroundColour() doesn't change the header
window background, don't change its foreground in SetForegroundColour()
neither.

Closes #15741.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-12-02 12:58:17 +00:00
parent d30d13a410
commit 4968945556

View File

@@ -5217,9 +5217,6 @@ bool wxGenericListCtrl::SetForegroundColour( const wxColour &colour )
m_mainWin->m_dirty = true; m_mainWin->m_dirty = true;
} }
if (m_headerWin)
m_headerWin->SetForegroundColour( colour );
return true; return true;
} }