#pragma hdrstop
#endif
-#if !wxUSE_SOCKETS
- #undef wxUSE_FS_INET
- #define wxUSE_FS_INET 0
-#endif
-#if (wxUSE_HTML || wxUSE_FS_INET || wxUSE_FS_ZIP) && wxUSE_STREAMS
+#if wxUSE_FILESYSTEM
#include "wx/wfstream.h"
#include "wx/module.h"
cnt = p.Length();
for (i = 0; i < cnt; i++)
- if (p.GetChar(i) == wxT('\\')); p.GetWritableChar(i) = wxT('/'); // wanna be windows-safe
+ if (p.GetChar(i) == wxT('\\')) p.GetWritableChar(i) = wxT('/'); // Want to be windows-safe
if (p.Left(2) == wxT("./")) { p = p.Mid(2); cnt -= 2; }
m_FindFileHandler = NULL;
for (int i = spec2.Length()-1; i >= 0; i--)
- if (spec2[(unsigned int) i] == wxT('\\')) spec2.GetWritableChar(i) = wxT('/'); // wanna be windows-safe
+ if (spec2[(unsigned int) i] == wxT('\\')) spec2.GetWritableChar(i) = wxT('/'); // Want to be windows-safe
node = m_Handlers.GetFirst();
while (node)
IMPLEMENT_DYNAMIC_CLASS(wxFileSystemModule, wxModule)
#endif
- // (wxUSE_FS_INET || wxUSE_FS_ZIP) && wxUSE_STREAMS
+ // wxUSE_FILESYSTEM