Nikolay Sivov : comctl32/tab: Use cached colors for Tab.

Alexandre Julliard julliard at winehq.org
Tue May 19 09:23:09 CDT 2009


Module: wine
Branch: master
Commit: 745f48157df025596680fd4e8bde1cde20af7134
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=745f48157df025596680fd4e8bde1cde20af7134

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Mon May 18 19:55:51 2009 +0400

comctl32/tab: 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);
 




More information about the wine-cvs mailing list