X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a57ea0102f67075861696d97e784c1b68f12fc51..4a699e3a59b19c21b6faae714b56cac5a75df2e2:/src/common/image.cpp diff --git a/src/common/image.cpp b/src/common/image.cpp index 62597542fd..ef7fb58dd9 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -2576,6 +2576,7 @@ bool wxImage::SaveFile( wxOutputStream& stream, const wxString& mimetype ) const if ( !handler ) { wxLogWarning( _("No image handler for type %s defined."), mimetype.GetData() ); + return false; } return DoSave(*handler, stream);