#include "wx/wxprec.h"
-#ifdef __BORDLANDC__
+#ifdef __BORLANDC__
#pragma hdrstop
#endif
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);
}