replace all instances of wxString with std::string in all cases not

directly involved in either the GUI or other wxWidget classes like wxFile
This commit is contained in:
Peter Tissen 2014-04-01 02:33:55 +02:00
parent b1894ac6cb
commit 8ac226ae69
124 changed files with 1716 additions and 1502 deletions

View file

@ -12,12 +12,12 @@ vfsFileBase::~vfsFileBase()
Close();
}
bool Access(const wxString& path, vfsOpenMode mode)
bool Access(const std::string& path, vfsOpenMode mode)
{
return false;
}
bool vfsFileBase::Open(const wxString& path, vfsOpenMode mode)
bool vfsFileBase::Open(const std::string& path, vfsOpenMode mode)
{
m_path = path;
m_mode = mode;
@ -29,12 +29,12 @@ bool vfsFileBase::Open(const wxString& path, vfsOpenMode mode)
bool vfsFileBase::Close()
{
m_path = wxEmptyString;
m_path = "";
return vfsStream::Close();
}
wxString vfsFileBase::GetPath() const
std::string vfsFileBase::GetPath() const
{
return m_path;
}