mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 00:36:43 +00:00
comctl32/tests: Test that headers do not free their image list.
This commit is contained in:
parent
662de19ad3
commit
9a616111da
@ -955,6 +955,7 @@ static void test_hdm_imageMessages(HWND hParent)
|
||||
{
|
||||
HIMAGELIST hImageList = ImageList_Create (4, 4, 0, 1, 0);
|
||||
HIMAGELIST hIml;
|
||||
BOOL wasValid;
|
||||
HWND hChild;
|
||||
|
||||
flush_sequences(sequences, NUM_MSG_SEQUENCES);
|
||||
@ -977,6 +978,10 @@ static void test_hdm_imageMessages(HWND hParent)
|
||||
ok_sequence(sequences, HEADER_SEQ_INDEX, imageMessages_seq, "imageMessages sequence testing", FALSE);
|
||||
|
||||
DestroyWindow(hChild);
|
||||
|
||||
wasValid = ImageList_Destroy(hImageList);
|
||||
todo_wine
|
||||
ok(wasValid, "Header must not free image list at destruction!\n");
|
||||
}
|
||||
|
||||
static void test_hdm_filterMessages(HWND hParent)
|
||||
|
Loading…
Reference in New Issue
Block a user