X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f49300284e2c91095ae3ebe62cb3a6d424eac21..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/include/wx/imagpng.h?ds=sidebyside diff --git a/include/wx/imagpng.h b/include/wx/imagpng.h index caa8f23133..87ff7f124b 100644 --- a/include/wx/imagpng.h +++ b/include/wx/imagpng.h @@ -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