changed wxFFileOutput/InputStream ctor 'mode' argument to wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user