user32/tests: Fix an intermittent test failure.

This commit is contained in:
Paul Vriens 2009-10-12 09:21:25 +02:00 committed by Alexandre Julliard
parent b8668a9ce5
commit 42f7e4a4d9
1 changed files with 1 additions and 0 deletions

View File

@ -303,6 +303,7 @@ static void test_ownerdraw(void)
hLB = create_listbox(LBS_OWNERDRAWFIXED | WS_CHILD | WS_VISIBLE, parent);
assert(hLB);
SetForegroundWindow(hLB);
UpdateWindow(hLB);
/* make height short enough */