[PATCH 1/5] Week numbers use title colour

Nikolay Sivov nsivov at codeweavers.com
Sat Apr 2 02:43:59 CDT 2011


---
 dlls/comctl32/monthcal.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index bae19f8..fc0cf3f 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -6,7 +6,7 @@
  * Copyright 1999 Chris Morgan <cmorgan at wpi.edu> and
  *		  James Abbatiello <abbeyj at wpi.edu>
  * Copyright 2000 Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de>
- * Copyright 2009, 2010 Nikolay Sivov
+ * Copyright 2009-2011 Nikolay Sivov
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -855,6 +855,7 @@ static void MONTHCAL_PaintWeeknumbers(const MONTHCAL_INFO *infoPtr, HDC hdc, con
 
   /* erase whole week numbers area */
   FillRect(hdc, &r, infoPtr->brushes[MCSC_MONTHBK]);
+  SetTextColor(hdc, infoPtr->colors[MCSC_TITLEBK]);
 
   /* reduce rectangle to one week number */
   r.bottom = r.top + infoPtr->height_increment;
-- 
1.5.6.5



--------------020403000906080202070408--



More information about the wine-patches mailing list