]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/xpm/create.c
fixed Cyrillic encodings
[wxWidgets.git] / src / mac / xpm / create.c
index b529e65c5443e607c93d738926055e5ac292f93d..5495b9692a95db1924544a6aa637d67c317e39fb 100644 (file)
@@ -43,7 +43,7 @@
  * Lorens Younes (d93-hyo@nada.kth.se) 4/96
  */
 
-#include "xpmi.h"
+#include "XpmI.h"
 #include <ctype.h>
 
 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