[SHELL32] CMenuToolbarBase: Use COLOR_MENUTEXT color for the text color in normal...
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 5 Jan 2018 09:53:35 +0000 (11:53 +0200)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 5 Jan 2018 09:53:35 +0000 (11:53 +0200)
dll/win32/shell32/shellmenu/CMenuToolbars.cpp

index 40dd12f..909c5fb 100644 (file)
@@ -206,6 +206,9 @@ HRESULT CMenuToolbarBase::OnCustomDraw(LPNMTBCUSTOMDRAW cdraw, LRESULT * theResu
         }
         else
         {
         }
         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;
 
             // Remove HOT and CHECKED flags (will restore HOT if necessary)
             cdraw->nmcd.uItemState &= ~CDIS_HOT;