]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpnm.h
undid previous commit, the person who reported it retracted his claim
[wxWidgets.git] / include / wx / imagpnm.h
index a2f151785f58224c76f22bb8138f087e1c5acd6f..21f2896b5791dc6f7d97015e6170157d69ebad04 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _WX_IMAGPNM_H_
 #define _WX_IMAGPNM_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "imagpnm.h"
 #endif
 
@@ -36,7 +36,7 @@ public:
   };
 
 #if wxUSE_STREAMS
-  virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=0 );
+  virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1 );
   virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE );
   virtual bool DoCanRead( wxInputStream& stream );
 #endif