-sync user32_winetest with wine 1.1.32
[reactos.git] / rostests / winetests / user32 / listbox.c
index 0aef698..942c780 100644 (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 */