Nikolay Sivov : comctl32/monthcal: Invalidate unconditonally on MCM_SETFIRSTDAYOFWEEK.

Alexandre Julliard julliard at winehq.org
Wed Oct 7 09:46:04 CDT 2009


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

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Wed Oct  7 04:25:45 2009 +0400

comctl32/monthcal: Invalidate unconditonally on MCM_SETFIRSTDAYOFWEEK.

---

 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 5a34a37..893a505 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -1138,6 +1138,8 @@ MONTHCAL_SetFirstDayOfWeek(MONTHCAL_INFO *infoPtr, INT day)
     infoPtr->firstDayHighWord = TRUE;
   }
 
+  InvalidateRect(infoPtr->hwndSelf, NULL, FALSE);
+
   return prev;
 }
 




More information about the wine-cvs mailing list