comctl32/monthcal: Name MCM_SETMAXSELCOUNT parameter.

This commit is contained in:
Nikolay Sivov 2009-09-25 03:16:51 +04:00 committed by Alexandre Julliard
parent 548645d360
commit 534ea8ab42
1 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ typedef struct
int status; /* See MC_SEL flags */
int curSelDay; /* current selected day */
int firstSelDay; /* first selected day */
int maxSelCount;
INT maxSelCount;
SYSTEMTIME minSel;
SYSTEMTIME maxSel;
DWORD rangeValid;
@ -1026,12 +1026,12 @@ MONTHCAL_GetMaxSelCount(const MONTHCAL_INFO *infoPtr)
static LRESULT
MONTHCAL_SetMaxSelCount(MONTHCAL_INFO *infoPtr, WPARAM wParam)
MONTHCAL_SetMaxSelCount(MONTHCAL_INFO *infoPtr, INT max)
{
TRACE("%lx\n", wParam);
TRACE("%d\n", max);
if(infoPtr->dwStyle & MCS_MULTISELECT) {
infoPtr->maxSelCount = wParam;
infoPtr->maxSelCount = max;
}
return TRUE;