Module: wine Branch: master Commit: f6653a93eb6796b733c6b0e9e289746692ab0a69 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f6653a93eb6796b733c6b0e9e2...
Author: Huw Davies huw@codeweavers.com Date: Mon Jul 6 10:53:00 2015 +0100
comctl32/tests: Extra WM_PAINT messages are occasionally sent on Vista and Win 7.
---
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 } };