Commit d0dfd9d7 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

comctl32/tests: Don't crash on some win9x boxes.

parent 51577988
......@@ -1034,6 +1034,10 @@ static void test_hdm_filterMessages(HWND hParent)
else
ok_sequence(sequences, HEADER_SEQ_INDEX, filterMessages_seq_noninteractive,
"filterMessages sequence testing", FALSE);
/* Some Win9x versions don't send a WM_KILLFOCUS.
* Set the focus explicitly to the parent to avoid a crash.
*/
SetFocus(hParent);
DestroyWindow(hChild);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment