]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpng.h
DoPrepareDC needs the dc.
[wxWidgets.git] / include / wx / imagpng.h
index 1183280c1112b5bc39f203d6ebf7e1ae06722c10..2e0d07be7c2e78414fb367bf92a718dda272c9d1 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _WX_IMAGPNG_H_
 #define _WX_IMAGPNG_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "imagpng.h"
 #endif