#pragma hdrstop
#endif
-#if (wxUSE_HTML || wxUSE_FS_INET || wxUSE_FS_ZIP) && wxUSE_STREAMS
+#if wxUSE_FILESYSTEM && wxUSE_STREAMS
#ifndef WXPRECOMP
#include "wx/wx.h"
m_Data = new char[len];
memcpy(m_Data, data, len);
m_Len = len;
- m_Time = wxDateTime::Today();
+ m_Time = wxDateTime::Now();
}
MemFSHashObj(wxMemoryOutputStream& stream)
m_Len = stream.GetSize();
m_Data = new char[m_Len];
stream.CopyTo(m_Data, m_Len);
- m_Time = wxDateTime::Today();
+ m_Time = wxDateTime::Now();
}
~MemFSHashObj()
+#if wxUSE_GUI
+
/*static*/ void wxMemoryFSHandler::AddFile(const wxString& filename, wxImage& image, long type)
{
if (!CheckHash(filename)) return;
AddFile(filename, img, type);
}
+#endif
/*static*/ void wxMemoryFSHandler::AddFile(const wxString& filename, const wxString& textdata)
{
-#endif // wxUSE_FS_ZIP
+#endif // wxUSE_FILESYSTEM && wxUSE_FS_ZIP