comctl32/tab: Use cached colors for Tab.

This commit is contained in:
Nikolay Sivov 2009-05-18 19:55:51 +04:00 committed by Alexandre Julliard
parent 649e4640d1
commit 745f48157d
1 changed files with 1 additions and 1 deletions

View File

@ -1668,7 +1668,7 @@ TAB_DrawItemInterior(const TAB_INFO *infoPtr, HDC hdc, INT iItem, RECT *drawRect
/*
* Text pen
*/
htextPen = CreatePen( PS_SOLID, 1, GetSysColor(COLOR_BTNTEXT) );
htextPen = CreatePen( PS_SOLID, 1, comctl32_color.clrBtnText );
holdPen = SelectObject(hdc, htextPen);
hOldFont = SelectObject(hdc, infoPtr->hFont);