]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/pnghand.cpp
Fix error and some warnings - wxTopLevelWindowMac needs toplevel.h, but we only need...
[wxWidgets.git] / src / mac / carbon / pnghand.cpp
index 3241b88a3ace29ce82c01051759bb488db958f2a..bbcfcbec4554de73c6331da300cc9d59f3b7f995 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #  pragma implementation "pngread.h"
 #  pragma implementation "pnghand.h"
 #endif
@@ -21,7 +21,7 @@
 #  pragma hdrstop
 #endif
 
-#if wxUSE_LIBPNG
+#if 0 // wxUSE_LIBPNG
 
 #include <stdlib.h>
 #include <stdio.h>