Hi, --- \dll\iup\a\src\win\iupwin_label.c Tue Nov 27 17:25:24 2018 +++ iupwin_label.c Sat May 25 10:09:27 2019 @@ -44,7 +44,7 @@ int xpad = ih->data->horiz_padding, ypad = ih->data->vert_padding; int x, y, width, height, bpp; - HBITMAP hBitmap, hMask = NULL; + HBITMAP hBitmap; char *name; int make_inactive = 0; @@ -85,9 +85,6 @@ y += ypad; iupwinDrawBitmap(hDC, hBitmap, x, y, width, height, width, height, bpp); - - if (hMask) - DeleteObject(hMask); } static void winLabelDrawText(Ihandle* ih, HDC hDC, int rect_width, int rect_height, UINT itemState)
Best regards, Ranier Vilela
iupwin_label.c.patch
Description: iupwin_label.c.patch
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users