[10/13] comctl32/tab: Use cached colors for Tab
Nikolay Sivov
bunglehead at gmail.com
Mon May 18 12:20:10 CDT 2009
Changelog:
- use cached colors for Tab control
>From f6aea2bf34cbcd1924eca3200a559fe0296c74ae Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Mon, 18 May 2009 19:55:51 +0400
Subject: Use cached colors for Tab
---
dlls/comctl32/tab.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c
index c2ab01e..b884697 100644
--- a/dlls/comctl32/tab.c
+++ b/dlls/comctl32/tab.c
@@ -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);
--
1.5.6.5
More information about the wine-patches
mailing list