Fix for vista menu (bytefield)

git-svn-id: svn://ultimatepp.org/upp/trunk@496 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
unodgs 2008-10-01 17:17:42 +00:00
parent 82941550c0
commit 660da2c7ba

View file

@ -450,8 +450,12 @@ void ChHostSkin()
{
MenuBar::Style& s = MenuBar::StyleDefault().Write();
if(vista_aero) {
s.itemtext = XpColor(XP_MENU, 14 /*MENU_POPUPITEM*/, 2 /*HOT*/, 3803/*TMT_TEXTCOLOR*/);
s.topitemtext[0] = s.topitemtext[1] = s.topitemtext[2] =
s.itemtext = XpColor(XP_MENU, 8 /*MENU_POPUPITEM*/,
2 /*HOT*/, 3803/*TMT_TEXTCOLOR*/);
Win32Look(s.item, XP_MENU, 14 /*MENU_POPUPITEM*/, 2 /*HOT*/);
Win32Look(s.topitem[1], XP_MENU, 8 , 2 /*HOT*/);
Win32Look(s.topitem[2], XP_MENU, 8 , 3 /*HOT*/);
Win32Look(s.popupiconbar, XP_MENU, 13, 1);
s.leftgap = 32;
s.textgap = 6;