#ifdef __GNUG__
-#pragma implementation
+#pragma implementation "fs_mem.h"
#endif
#include "wx/wxprec.h"
#include "wx/fs_mem.h"
#include "wx/mstream.h"
-
class MemFSHashObj : public wxObject
{
public:
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);
}
}