comctl32/imagelist: Use defined flags instead of magic numbers in tests.
This commit is contained in:
parent
3e20458aca
commit
4afc54540d
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue