comctl32/imagelist: Use defined flags instead of magic numbers in tests.

This commit is contained in:
Nikolay Sivov 2009-11-15 07:58:05 +03:00 committed by Alexandre Julliard
parent 3e20458aca
commit 4afc54540d
1 changed files with 3 additions and 3 deletions

View File

@ -336,7 +336,7 @@ static BOOL DoTest1(void)
HICON hicon3 ;
/* create an imagelist to play with */
himl = ImageList_Create(84,84,0x10,0,3);
himl = ImageList_Create(84, 84, ILC_COLOR16, 0, 3);
ok(himl!=0,"failed to create imagelist\n");
/* load the icons to add to the image list */
@ -402,7 +402,7 @@ static BOOL DoTest2(void)
HICON hicon3 ;
/* create an imagelist to play with */
himl = ImageList_Create(84,84,0x10,0,3);
himl = ImageList_Create(84, 84, ILC_COLOR16, 0, 3);
ok(himl!=0,"failed to create imagelist\n");
/* load the icons to add to the image list */
@ -451,7 +451,7 @@ static BOOL DoTest3(void)
ok(hdc!=NULL, "couldn't get DC\n");
/* create an imagelist to play with */
himl = ImageList_Create(48,48,0x10,0,3);
himl = ImageList_Create(48, 48, ILC_COLOR16, 0, 3);
ok(himl!=0,"failed to create imagelist\n");
/* load the icons to add to the image list */