#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"
-wxString wxMemoryFSHandler::FindFirst(const wxString& spec, int flags)
+wxString wxMemoryFSHandler::FindFirst(const wxString& WXUNUSED(spec),
+ int WXUNUSED(flags))
{
- wxLogWarning(wxT("wxMemoryFSHandler::FindFirst not implemented"));
+ wxFAIL_MSG(wxT("wxMemoryFSHandler::FindFirst not implemented"));
+
return wxEmptyString;
}
wxString wxMemoryFSHandler::FindNext()
{
- wxLogWarning(wxT("wxMemoryFSHandler::FindNext not implemented"));
+ wxFAIL_MSG(wxT("wxMemoryFSHandler::FindNext not implemented"));
+
return wxEmptyString;
}
-
bool wxMemoryFSHandler::CheckHash(const wxString& filename)
{
if (m_Hash == NULL)
+#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