]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpng.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / imagpng.h
index caa8f2313383daa4cdc0719fdc58deeced743b69..87ff7f124b53d904d362b0380cfda45ba5bbdea8 100644 (file)
@@ -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