X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f02f4d43c5134fce1fdad8967d8337b8a92b7283..80f8355d6639f1bb13b00a64cb27aaa2b5088185:/src/common/wfstream.cpp?ds=sidebyside diff --git a/src/common/wfstream.cpp b/src/common/wfstream.cpp index 25327f1489..5bc7cf1ce2 100644 --- a/src/common/wfstream.cpp +++ b/src/common/wfstream.cpp @@ -234,7 +234,7 @@ wxFileStream::wxFileStream(const wxString& fileName) // ---------------------------------------------------------------------------- wxFFileInputStream::wxFFileInputStream(const wxString& fileName, - const wxChar *mode) + const wxString& mode) : wxInputStream() { m_file = new wxFFile(fileName, mode); @@ -310,7 +310,7 @@ bool wxFFileInputStream::IsOk() const // ---------------------------------------------------------------------------- wxFFileOutputStream::wxFFileOutputStream(const wxString& fileName, - const wxChar *mode) + const wxString& mode) { m_file = new wxFFile(fileName, mode); m_file_destroy = true;