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

This commit is contained in:
Nikolay Sivov 2011-09-28 16:39:17 +04:00 committed by Alexandre Julliard
parent c28a1d019d
commit 5e2ede6c4d
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}