Nikolay Sivov : comctl32/monthcal: Week numbers use title colour.
Module: wine Branch: master Commit: 5a8be0bc203b77095205d8942e59189fd77dfc32 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5a8be0bc203b77095205d8942e... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Sat Apr 2 11:43:59 2011 +0400 comctl32/monthcal: Week numbers use title colour. --- 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(a)wpi.edu> and * James Abbatiello <abbeyj(a)wpi.edu> * Copyright 2000 Uwe Bonnes <bon(a)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;
participants (1)
-
Alexandre Julliard