diff --git a/src/common/wfstream.cpp b/src/common/wfstream.cpp index 42b4301841..b28617d537 100644 --- a/src/common/wfstream.cpp +++ b/src/common/wfstream.cpp @@ -181,7 +181,7 @@ wxFileStream::wxFileStream(const wxString& fileName) wxFFileInputStream::wxFFileInputStream(const wxString& fileName) : wxInputStream() { - m_file = new wxFFile(fileName, "r"); + m_file = new wxFFile(fileName, "rb"); m_file_destroy = TRUE; }