Commit c11d8b00 authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

Explicitly ask for image list with screen depth as ILC_COLOR can/will

limit the depth to 4bpp now.
parent e9871b0b
......@@ -2281,7 +2281,7 @@ TOOLBAR_AddBitmap (HWND hwnd, WPARAM wParam, LPARAM lParam)
TRACE ("creating default image list!\n");
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);
infoPtr->himlInt = himlDef;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment