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:
parent
8dcfaa404e
commit
5f4403b407
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user