comctl32/tests: Extra WM_PAINT messages are occasionally sent on Vista and Win 7.

Huw Davies huw at codeweavers.com
Mon Jul 6 04:53:00 CDT 2015


---
 dlls/comctl32/tests/button.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/comctl32/tests/button.c b/dlls/comctl32/tests/button.c
index badd8a7..8c27c0f 100644
--- a/dlls/comctl32/tests/button.c
+++ b/dlls/comctl32/tests/button.c
@@ -316,6 +316,7 @@ static const struct message setstyle_seq[] =
     { WM_PAINT, sent },
     { WM_NCPAINT, sent|defwinproc|optional }, /* FIXME: Wine sends it */
     { WM_ERASEBKGND, sent|defwinproc|optional },
+    { WM_PAINT, sent|optional },
     { 0 }
 };
 
@@ -363,6 +364,7 @@ static const struct message setstate_seq[] =
     { WM_PAINT, sent },
     { WM_NCPAINT, sent|optional }, /* FIXME: Wine sends it */
     { WM_ERASEBKGND, sent|defwinproc|optional },
+    { WM_PAINT, sent|optional },
     { 0 }
 };
 
@@ -424,6 +426,7 @@ static const struct message setcheck_ignored_seq[] =
 {
     { BM_SETCHECK, sent },
     { WM_APP, sent|wparam|lparam, 0, 0 },
+    { WM_PAINT, sent|optional },
     { 0 }
 };
 
-- 
1.8.0




More information about the wine-patches mailing list