Module: wine Branch: master Commit: f281d0e77d175588ef5bde08eceede73bad2b14b URL: http://source.winehq.org/git/wine.git/?a=commit;h=f281d0e77d175588ef5bde08ec...
Author: Markus Gömmel m.goemmel@compulab.de Date: Thu Jun 21 11:24:16 2007 +0200
comctl32/datetime: Added a missing InvalidateRect to update display after WM_ENABLE.
---
dlls/comctl32/datetime.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c index ad989ec..40c2ca5 100644 --- a/dlls/comctl32/datetime.c +++ b/dlls/comctl32/datetime.c @@ -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; }