Changelog: * Changed SRCPAINT to SRCCOPY, the first time what it paints in hImageDC. -- ____________________________________________________ ___ _____ _ ____ / __// _ // / / o) clozano / /_ / /_/ // /_ / \ @andago.com /___//_/ /_//___//__) ____________________________________________________
Index: dlls/comctl32/imagelist.c =================================================================== RCS file: /home/wine/wine/dlls/comctl32/imagelist.c,v retrieving revision 1.61 diff -u -r1.61 imagelist.c --- dlls/comctl32/imagelist.c 24 Sep 2002 18:26:42 -0000 1.61 +++ dlls/comctl32/imagelist.c 13 Oct 2002 16:50:23 -0000 @@ -1135,7 +1135,11 @@ } } else if (himl->hbmMask) { BitBlt( hImageDC, 0, 0, cx, cy, hMaskListDC, lx, ly, SRCAND ); - BitBlt( hImageDC, 0, 0, cx, cy, hImageListDC, lx, ly, SRCPAINT ); + if (!bIsTransparent && himl->hbmMask) { + BitBlt( hImageDC, 0, 0, cx, cy, hImageListDC, lx, ly, SRCPAINT ); + } else { + BitBlt( hImageDC, 0, 0, cx, cy, hImageListDC, lx, ly, SRCCOPY ); + } } else { /* the image is opaque, just copy it */ TRACE(" - Image is opaque\n");