comctl32/datetime.c: Added a missing InvalidateRect to update
display after WM_ENABLE
Markus Gömmel
m.goemmel at compulab.de
Thu Jun 21 04:29:51 CDT 2007
>From 7fc530234eb37abdc1ffcb5788d8e8c452d8e415 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Markus_G=C3=B6mmel?= <m.goemmel at compulab.de>
Date: Thu, 21 Jun 2007 11:24:16 +0200
Subject: [PATCH] comctl32/datetime.c: 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,
infoPtr->dwStyle &= ~WS_DISABLED;
else
infoPtr->dwStyle |= WS_DISABLED;
+
+ InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
+
return 0;
}
--
1.4.3.4
-------------- next part --------------
>From 7fc530234eb37abdc1ffcb5788d8e8c452d8e415 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Markus_G=C3=B6mmel?= <m.goemmel at compulab.de>
Date: Thu, 21 Jun 2007 11:24:16 +0200
Subject: [PATCH] comctl32/datetime.c: 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,
infoPtr->dwStyle &= ~WS_DISABLED;
else
infoPtr->dwStyle |= WS_DISABLED;
+
+ InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
+
return 0;
}
--
1.4.3.4
More information about the wine-patches
mailing list