diff --git a/src/gui/wxgui/components/wxDownloadManagerList.cpp b/src/gui/wxgui/components/wxDownloadManagerList.cpp index cfc3c52d..b1bf427a 100644 --- a/src/gui/wxgui/components/wxDownloadManagerList.cpp +++ b/src/gui/wxgui/components/wxDownloadManagerList.cpp @@ -6,7 +6,6 @@ #include "wxgui/components/wxGameList.h" #include "wxgui/helpers/wxCustomEvents.h" -#include #include #include #include @@ -167,8 +166,8 @@ wxItemAttr* wxDownloadManagerList::OnGetItemAttr(long item) const } } - const wxColour kSecondColor{ 0xFDF9F2 }; - static wxListItemAttr s_coloured_attr(GetTextColour(), kSecondColor, GetFont()); + wxColour bgColourSecondary = wxHelper::CalculateAccentColour(GetBackgroundColour()); + static wxListItemAttr s_coloured_attr(GetTextColour(), bgColourSecondary, GetFont()); return item % 2 == 0 ? nullptr : &s_coloured_attr; }