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…
Reference in New Issue