#include "wx/url.h"
#include "wx/filesys.h"
#include "wx/fs_inet.h"
+#include "wx/module.h"
class wxInetCacheNode : public wxObject
{
bool wxInternetFSHandler::CanOpen(const wxString& location)
{
wxString p = GetProtocol(location);
- return (p == _T("http")) || (p == _T("ftp"));
+ return (p == wxT("http")) || (p == wxT("ftp"));
}
wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& location)
{
- wxString right = GetProtocol(location) + _T(":") + GetRightLocation(location);
+ wxString right = GetProtocol(location) + wxT(":") + GetRightLocation(location);
wxInputStream *s;
wxString content;
wxInetCacheNode *info;
{
wxChar buf[256];
- wxGetTempFileName( _T("wxhtml"), buf);
+ wxGetTempFileName( wxT("wxhtml"), buf);
info = new wxInetCacheNode(buf, content);
m_Cache.Put(right, info);