#include "wx/wxprec.h"
-#ifdef __BORDLANDC__
+#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WXPRECOMP
#include "wx/intl.h"
#include "wx/log.h"
+ #include "wx/hash.h"
#endif
#include "wx/filesys.h"
char *m_Data;
size_t m_Len;
wxDateTime m_Time;
+
+ DECLARE_NO_COPY_CLASS(MemFSHashObj)
};
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);
}