mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 20:21:22 +00:00
Create image list for toolbar with same depth as display
svn path=/trunk/; revision=8640
This commit is contained in:
parent
6477510568
commit
41f97f6862
1 changed files with 1 additions and 1 deletions
|
@ -2299,7 +2299,7 @@ TOOLBAR_AddBitmap (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
||||||
TRACE ("creating default image list!\n");
|
TRACE ("creating default image list!\n");
|
||||||
|
|
||||||
himlDef = ImageList_Create (infoPtr->nBitmapWidth, infoPtr->nBitmapHeight,
|
himlDef = ImageList_Create (infoPtr->nBitmapWidth, infoPtr->nBitmapHeight,
|
||||||
ILC_COLOR | ILC_MASK, nButtons, 2);
|
ILC_COLORDDB | ILC_MASK, nButtons, 2);
|
||||||
TOOLBAR_InsertImageList(&infoPtr->himlDef, &infoPtr->cimlDef, himlDef, 0);
|
TOOLBAR_InsertImageList(&infoPtr->himlDef, &infoPtr->cimlDef, himlDef, 0);
|
||||||
infoPtr->himlInt = himlDef;
|
infoPtr->himlInt = himlDef;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue