mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 06:06:13 +00:00
comctl32: MonthCalendar - Fix highlighting of current date.
This commit is contained in:
parent
957474f223
commit
c5b8df481f
1 changed files with 4 additions and 0 deletions
|
@ -1891,6 +1891,10 @@ MONTHCAL_Create(HWND hwnd, WPARAM wParam, LPARAM lParam)
|
|||
infoPtr->bk = GetSysColor(COLOR_WINDOW);
|
||||
infoPtr->txt = GetSysColor(COLOR_WINDOWTEXT);
|
||||
|
||||
/* set the current day for highlighing */
|
||||
infoPtr->minSel.wDay = infoPtr->todaysDate.wDay;
|
||||
infoPtr->maxSel.wDay = infoPtr->todaysDate.wDay;
|
||||
|
||||
/* call MONTHCAL_UpdateSize to set all of the dimensions */
|
||||
/* of the control */
|
||||
MONTHCAL_UpdateSize(infoPtr);
|
||||
|
|
Loading…
Reference in a new issue