comctl32/monthcal: Store full date info to current date on todaylink with LButton.
This commit is contained in:
parent
6a11d779e6
commit
a95b63efcc
|
@ -1421,10 +1421,8 @@ MONTHCAL_LButtonDown(MONTHCAL_INFO *infoPtr, LPARAM lParam)
|
|||
{
|
||||
NMSELCHANGE nmsc;
|
||||
|
||||
infoPtr->curSel.wDay = infoPtr->todaysDate.wDay;
|
||||
infoPtr->firstSelDay = infoPtr->todaysDate.wDay;
|
||||
infoPtr->curSel.wMonth = infoPtr->todaysDate.wMonth;
|
||||
infoPtr->curSel.wYear = infoPtr->todaysDate.wYear;
|
||||
infoPtr->curSel = infoPtr->todaysDate;
|
||||
infoPtr->minSel = infoPtr->todaysDate;
|
||||
infoPtr->maxSel = infoPtr->todaysDate;
|
||||
InvalidateRect(infoPtr->hwndSelf, NULL, FALSE);
|
||||
|
|
Loading…
Reference in New Issue