Nikolay Sivov : comctl32/monthcal: Fix week numbers background color.

Alexandre Julliard julliard at winehq.org
Mon Oct 3 17:21:23 CDT 2011


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Sep 28 16:33:37 2011 +0400

comctl32/monthcal: Fix week numbers background color.

---

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

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index e73b40a..cdc63ed 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -962,7 +962,7 @@ static void MONTHCAL_PaintWeeknumbers(const MONTHCAL_INFO *infoPtr, HDC hdc, con
   r = infoPtr->calendars[calIdx].weeknums;
 
   /* erase whole week numbers area */
-  FillRect(hdc, &r, infoPtr->brushes[BrushTitle]);
+  FillRect(hdc, &r, infoPtr->brushes[BrushMonth]);
   SetTextColor(hdc, infoPtr->colors[MCSC_TITLEBK]);
 
   /* reduce rectangle to one week number */




More information about the wine-cvs mailing list