From a6719230378fd49e610593c2b7e45ac331017c86 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Fri, 5 Jan 2018 11:53:35 +0200 Subject: [PATCH] [SHELL32] CMenuToolbarBase: Use COLOR_MENUTEXT color for the text color in normal menu items. CORE-13855 --- dll/win32/shell32/shellmenu/CMenuToolbars.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dll/win32/shell32/shellmenu/CMenuToolbars.cpp b/dll/win32/shell32/shellmenu/CMenuToolbars.cpp index 40dd12fc9ae..909c5fb21fa 100644 --- a/dll/win32/shell32/shellmenu/CMenuToolbars.cpp +++ b/dll/win32/shell32/shellmenu/CMenuToolbars.cpp @@ -206,6 +206,9 @@ HRESULT CMenuToolbarBase::OnCustomDraw(LPNMTBCUSTOMDRAW cdraw, LRESULT * theResu } else { + // Set the text color, will be used by the internal drawing code + cdraw->clrText = GetSysColor(COLOR_MENUTEXT); + // Remove HOT and CHECKED flags (will restore HOT if necessary) cdraw->nmcd.uItemState &= ~CDIS_HOT;