[REGEDIT] Readd ILC_COLOR32 to the Treeview icons

Fixes regression introduced in 36a7f0dc
This commit is contained in:
Robert Naumann 2022-11-02 21:17:40 +01:00
parent 2ae9feb59f
commit 683d81b7db

View file

@ -443,7 +443,7 @@ static BOOL InitTreeViewImageLists(HWND hwndTV)
INT cy = GetSystemMetrics(SM_CYSMICON);
/* Create the image list. */
if ((himl = ImageList_Create(cx, cy, ILC_MASK, 0, NUM_ICONS)) == NULL)
if ((himl = ImageList_Create(cx, cy, ILC_MASK | ILC_COLOR32, 0, NUM_ICONS)) == NULL)
return FALSE;
/* Add the open file, closed file, and document bitmaps. */