comctl32/datetime: Added a missing InvalidateRect to update display after WM_ENABLE.

This commit is contained in:
Markus Gömmel 2007-06-21 11:24:16 +02:00 committed by Alexandre Julliard
parent 6302b965fa
commit f281d0e77d
1 changed files with 3 additions and 0 deletions

View File

@ -811,6 +811,9 @@ DATETIME_Enable (DATETIME_INFO *infoPtr, BOOL bEnable)
infoPtr->dwStyle &= ~WS_DISABLED;
else
infoPtr->dwStyle |= WS_DISABLED;
InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
return 0;
}