#ifndef WXPRECOMP
#include "wx/intl.h"
#include "wx/log.h"
+ #include "wx/hash.h"
#endif
#include "wx/filesys.h"
wxMemoryFSHandler::wxMemoryFSHandler() : wxFileSystemHandler()
{
- m_Hash = NULL;
}
/*static*/ void wxMemoryFSHandler::AddFile(const wxString& filename, const wxBitmap& bitmap, long type)
{
- wxImage img(bitmap);
+ wxImage img = bitmap.ConvertToImage();
AddFile(filename, img, type);
}