comctl32/tab: Use cached colors for Tab.
This commit is contained in:
parent
649e4640d1
commit
745f48157d
|
@ -1668,7 +1668,7 @@ TAB_DrawItemInterior(const TAB_INFO *infoPtr, HDC hdc, INT iItem, RECT *drawRect
|
||||||
/*
|
/*
|
||||||
* Text pen
|
* Text pen
|
||||||
*/
|
*/
|
||||||
htextPen = CreatePen( PS_SOLID, 1, GetSysColor(COLOR_BTNTEXT) );
|
htextPen = CreatePen( PS_SOLID, 1, comctl32_color.clrBtnText );
|
||||||
holdPen = SelectObject(hdc, htextPen);
|
holdPen = SelectObject(hdc, htextPen);
|
||||||
hOldFont = SelectObject(hdc, infoPtr->hFont);
|
hOldFont = SelectObject(hdc, infoPtr->hFont);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue