mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 14:24:45 +00:00
comctl32/tests: Test that headers do not free their image list.
This commit is contained in:
parent
662de19ad3
commit
9a616111da
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue