From 4968945556983c261ae02f640ce367ead0472492 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Dec 2013 12:58:17 +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/trunk@75327 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; }