mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-06 05:24:40 +02:00
parent
5402622abc
commit
fb1985defc
@ -285,7 +285,10 @@ BOOL TreeView::setImageList(int w, int h, int nbImage, int image_id, ...)
|
||||
|
||||
hbmp = (HBITMAP)::LoadImage(_hInst, MAKEINTRESOURCE(imageID), IMAGE_BITMAP, bmDpiDynW, bmDpiDynH, 0);
|
||||
if (hbmp == NULL)
|
||||
{
|
||||
va_end(argLst);
|
||||
return FALSE;
|
||||
}
|
||||
ImageList_AddMasked(_hImaLst, hbmp, maskColour);
|
||||
DeleteObject(hbmp);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user