projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SHELL32] CMenuToolbarBase: Use COLOR_MENUTEXT color for the text color in normal...
[reactos.git]
/
dll
/
win32
/
shell32
/
shellmenu
/
CMenuToolbars.cpp
diff --git
a/dll/win32/shell32/shellmenu/CMenuToolbars.cpp
b/dll/win32/shell32/shellmenu/CMenuToolbars.cpp
index
40dd12f
..
909c5fb
100644
(file)
--- 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;