Markus Gömmel : comctl32/datetime: Added a missing InvalidateRect to update display after WM_ENABLE.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jul 2 09:52:05 CDT 2007
Module: wine
Branch: master
Commit: f281d0e77d175588ef5bde08eceede73bad2b14b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f281d0e77d175588ef5bde08eceede73bad2b14b
Author: Markus Gömmel <m.goemmel at 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;
}
More information about the wine-cvs
mailing list