]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/pngread.h
disable use of #pragma interface under Mac OS X
[wxWidgets.git] / include / wx / mac / pngread.h
index 2a5b4b40cde8675c9e949b25673676299dd604dc..8aa50a09d44520a0f3245db2279f3f46d6283007 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_PNGREAD__
 #define _WX_PNGREAD__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "pngread.h"
 #endif
 
@@ -50,7 +50,7 @@ protected:
 
   long EfeWidth;               // Efective Width
 
-  GWorldPtr lpbi;
+  void *lpbi;
   int bgindex;
   wxPalette* m_palette;
   bool imageOK;