X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1c673942db6ff8ed5459b96b0b5307391bc36db..de75a255e55cea16f0bbb1db504f13e64e6058d9:/include/wx/ffile.h diff --git a/include/wx/ffile.h b/include/wx/ffile.h index 15984f7b11..861f496547 100644 --- a/include/wx/ffile.h +++ b/include/wx/ffile.h @@ -37,13 +37,13 @@ public: // def ctor wxFFile() { m_fp = NULL; } // open specified file (may fail, use IsOpened()) - wxFFile(const wxChar *filename, const wxChar *mode = _T("r")); + wxFFile(const wxString& filename, const wxString& mode = wxT("r")); // attach to (already opened) file wxFFile(FILE *lfp) { m_fp = lfp; } // open/close // open a file (existing or not - the mode controls what happens) - bool Open(const wxChar *filename, const wxChar *mode = _T("r")); + bool Open(const wxString& filename, const wxString& mode = wxT("r")); // closes the opened file (this is a NOP if not opened) bool Close();