comctl32/monthcal: Week numbers use title colour.
authorNikolay Sivov <nsivov@codeweavers.com>
Sat, 2 Apr 2011 07:43:59 +0000 (11:43 +0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 4 Apr 2011 09:51:43 +0000 (11:51 +0200)
dlls/comctl32/monthcal.c

index bae19f87e4a75a5b1879ca197700c237dccae986..fc0cf3f6b0c369725db4ff37da9b70b4a41dd2ee 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright 1999 Chris Morgan <cmorgan@wpi.edu> and
  *               James Abbatiello <abbeyj@wpi.edu>
  * Copyright 2000 Uwe Bonnes <bon@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;