From 5a8be0bc203b77095205d8942e59189fd77dfc32 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sat, 2 Apr 2011 11:43:59 +0400 Subject: [PATCH] comctl32/monthcal: Week numbers use title colour. --- dlls/comctl32/monthcal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c index bae19f87e4a..fc0cf3f6b0c 100644 --- a/dlls/comctl32/monthcal.c +++ b/dlls/comctl32/monthcal.c @@ -6,7 +6,7 @@ * Copyright 1999 Chris Morgan and * James Abbatiello * Copyright 2000 Uwe Bonnes - * 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; -- 2.11.4.GIT