X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1c673942db6ff8ed5459b96b0b5307391bc36db..6968a3b87cee46f5c5af9b46e1ef97f17133cef7:/include/wx/ffile.h?ds=sidebyside 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();