fix another icon error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott 2002-07-02 13:25:44 +00:00
parent 8dcfaa404e
commit 5f4403b407

View File

@ -750,7 +750,7 @@ bool wxBMPHandler::DoLoadDib(wxImage * image, int width, int height,
image->SetMask(FALSE);
return stream.IsOk();
return ( stream.LastError() == wxSTREAM_NO_ERROR || stream.LastError() == wxSTREAM_EOF );
}
bool wxBMPHandler::LoadDib(wxImage *image, wxInputStream& stream,