Commit 7d6ca631 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

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

parent d17341db
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment