comctl32: Send DTN_DATETIMECHANGE when the checkbox changes too.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=19756 Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
730b30aacf
commit
9b61a64601
|
@ -1060,6 +1060,7 @@ DATETIME_Button_Command (DATETIME_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
|
||||||
DWORD state = SendMessageW((HWND)lParam, BM_GETCHECK, 0, 0);
|
DWORD state = SendMessageW((HWND)lParam, BM_GETCHECK, 0, 0);
|
||||||
infoPtr->dateValid = (state == BST_CHECKED);
|
infoPtr->dateValid = (state == BST_CHECKED);
|
||||||
InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
|
InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
|
||||||
|
DATETIME_SendDateTimeChangeNotify(infoPtr);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue