X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f1ae4143271ae63a17e052a1a471d16e9cd8c44..8a3f08bc6f9d7d7ece178d98fe01ac3ef45e1509:/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