mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
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:
parent
b1894ac6cb
commit
8ac226ae69
124 changed files with 1716 additions and 1502 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue