[PATCH 5/5] Fix an intermittent test failure

Paul Vriens Paul.Vriens.Wine at gmail.com
Mon Oct 12 02:21:25 CDT 2009


---
 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 */
-- 
1.6.2.5


--------------090300000309080607090500--



More information about the wine-patches mailing list