Nikolay Sivov : comctl32/monthcal: Also invalidate today label while setting new today date.

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


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

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

comctl32/monthcal: Also invalidate today label while setting new today date.

---

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

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index cdc63ed..a2d8a19 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -1675,6 +1675,8 @@ MONTHCAL_UpdateToday(MONTHCAL_INFO *infoPtr, const SYSTEMTIME *today)
   /* only two days need redrawing */
   InvalidateRect(infoPtr->hwndSelf, &old_r, FALSE);
   InvalidateRect(infoPtr->hwndSelf, &new_r, FALSE);
+  /* and today label */
+  InvalidateRect(infoPtr->hwndSelf, &infoPtr->todayrect, FALSE);
   return TRUE;
 }
 




More information about the wine-cvs mailing list