From 66214e197b8e8229aa2fbd5c048f570200afae94 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Dec 2013 12:56:44 +0000 Subject: [PATCH] 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/branches/WX_3_0_BRANCH@75325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 31c7478798..f17dd0124f 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -5217,9 +5217,6 @@ bool wxGenericListCtrl::SetForegroundColour( const wxColour &colour ) m_mainWin->m_dirty = true; } - if (m_headerWin) - m_headerWin->SetForegroundColour( colour ); - return true; }