- revert selecting color and inactive menu state, because it doesn't work that way

- needs further invastigation

svn path=/trunk/; revision=41704
This commit is contained in:
Matthias Kupfer 2009-06-30 00:44:59 +00:00
parent 66873243b7
commit 90f47c629c

View file

@ -1023,6 +1023,8 @@ static BOOL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
hFont = CreateFontIndirect(&lf);
/* save font */
hOldFont = SelectObject(dc, hFont);
// FIXME selecting color doesn't work
#if 0
if(uFlags & DFCS_INACTIVE)
{
/* draw shadow */
@ -1030,6 +1032,7 @@ static BOOL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
TextOut(dc, r->left + 1, r->top + 1, &Symbol, 1);
}
SetTextColor(dc, GetSysColor((uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT));
#endif
/* draw selected symbol */
TextOut(dc, r->left, r->top, &Symbol, 1);
/* restore previous settings */