X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f5183d34bbf704e3426673a080d19cf280d5a96..a0d9c6cb9112174b71970686a95b628819797b87:/src/common/imagpng.cpp diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index 48d7aa52f5..3bf12e257d 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -570,7 +570,7 @@ wxPNGHandler::LoadFile(wxImage *image, png_set_expand( png_ptr ); png_set_filler( png_ptr, 0xff, PNG_FILLER_AFTER ); - image->Create( (int)width, (int)height ); + image->Create((int)width, (int)height, false /* no need to init pixels */); if (!image->Ok()) goto error;