comctl32/tests: Don't crash on some win9x boxes.
This commit is contained in:
parent
5157798836
commit
d0dfd9d784
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue