Piotr Caban : comctl32/tests: Flush events in listview tests after setting foreground window.
Module: wine Branch: master Commit: 7d6ca63154e2d36390f60949bb4a41ce23c53748 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7d6ca63154e2d36390f60949bb... Author: Piotr Caban <piotr(a)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(a)codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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) {
participants (1)
-
Alexandre Julliard