X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0240e8b1aa935d43689b0b8ec36de3c06c1a4758..f641dada6429d58d954234ca1abc770e7bee7721:/src/mac/xpm/create.c diff --git a/src/mac/xpm/create.c b/src/mac/xpm/create.c index b529e65c54..5495b9692a 100644 --- a/src/mac/xpm/create.c +++ b/src/mac/xpm/create.c @@ -43,7 +43,7 @@ * Lorens Younes (d93-hyo@nada.kth.se) 4/96 */ -#include "xpmi.h" +#include "XpmI.h" #include LFUNC(xpmVisualType, int, (Visual *visual)); @@ -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