Module: wine Branch: master Commit: 42f7e4a4d9b9ebc9a0364647a34910038562fe64 URL: http://source.winehq.org/git/wine.git/?a=commit;h=42f7e4a4d9b9ebc9a0364647a3...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Mon Oct 12 09:21:25 2009 +0200
user32/tests: Fix an intermittent test failure.
---
dlls/user32/tests/listbox.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/listbox.c b/dlls/user32/tests/listbox.c index 0aef698..942c780 100644 --- a/dlls/user32/tests/listbox.c +++ b/dlls/user32/tests/listbox.c @@ -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 */