X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f1ae4143271ae63a17e052a1a471d16e9cd8c44..d6c9c1b71e069396bbe3850862de9aa10e6812e0:/src/mac/xpm/create.c diff --git a/src/mac/xpm/create.c b/src/mac/xpm/create.c index fe27a219cb..5495b9692a 100644 --- a/src/mac/xpm/create.c +++ b/src/mac/xpm/create.c @@ -1067,12 +1067,12 @@ ParseAndPutPixels( } #elif macintosh SetCPixel( x, y, &image_pixels[colidx[c] - 1]); - /* - if (shapedc) + if (shapeimage) { - SetPixel(shapedc, x, y, shape_pixels[colidx[c] - 1]); + SetGWorld( shapeimage->gworldptr , NULL ) ; + SetCPixel( x, y, &shape_pixels[colidx[c] - 1]); + SetGWorld( image->gworldptr , NULL ) ; } - */ #endif } else