mirror of
https://github.com/reactos/wine.git
synced 2025-04-03 08:31:55 +00:00
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…
x
Reference in New Issue
Block a user