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

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Piotr Caban 2015-11-03 18:43:12 +01:00 committed by Alexandre Julliard
parent d17341dbd0
commit 7d6ca63154
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{