X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f49300284e2c91095ae3ebe62cb3a6d424eac21..698052d5f125427b4ac62e1968a090f697aea8ae:/include/wx/imagpng.h 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