merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -159,13 +159,13 @@ bool wxMemoryFSHandler::CheckHash(const wxString& filename)
|
||||
|
||||
|
||||
wxMemoryOutputStream mems;
|
||||
if (image.Ok() && image.SaveFile(mems, type))
|
||||
if (image.Ok() && image.SaveFile(mems, (int)type))
|
||||
m_Hash -> Put(filename, new MemFSHashObj(mems));
|
||||
else
|
||||
{
|
||||
wxString s;
|
||||
s.Printf(_("Failed to store image '%s' to memory VFS!"), filename.c_str());
|
||||
printf("'%s'\n", s.c_str());
|
||||
wxPrintf(wxT("'%s'\n"), s.c_str());
|
||||
wxLogError(s);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user