]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagjpeg.h
Make use of new array functions.
[wxWidgets.git] / include / wx / imagjpeg.h
index da25d5c7ec250757d5f5b11f7343103890272aae..ff762392240b980b85249a3a2055beaae97fbce4 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _WX_IMAGJPEG_H_
 #define _WX_IMAGJPEG_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "imagjpeg.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