Piotr Caban : comctl32/tests: Flush events in listview tests after setting foreground window.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 4 09:40:39 CST 2015


Module: wine
Branch: master
Commit: 7d6ca63154e2d36390f60949bb4a41ce23c53748
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7d6ca63154e2d36390f60949bb4a41ce23c53748

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Tue Nov  3 18:43:12 2015 +0100

comctl32/tests: Flush events in listview tests after setting foreground window.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/comctl32/tests/listview.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 118b4a2..676dca1 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -5776,6 +5776,7 @@ static void test_oneclickactivate(void)
     ok(r == 0, "should return zero\n");
 
     SetForegroundWindow(hwndparent);
+    flush_events();
     fg = GetForegroundWindow();
     if (fg != hwndparent)
     {




More information about the wine-cvs mailing list