mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 20:59:04 +00:00
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>
This commit is contained in:
parent
d17341dbd0
commit
7d6ca63154
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue