Corrected wxFFileInputStream as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -181,7 +181,7 @@ wxFileStream::wxFileStream(const wxString& fileName)
|
|||||||
wxFFileInputStream::wxFFileInputStream(const wxString& fileName)
|
wxFFileInputStream::wxFFileInputStream(const wxString& fileName)
|
||||||
: wxInputStream()
|
: wxInputStream()
|
||||||
{
|
{
|
||||||
m_file = new wxFFile(fileName, "r");
|
m_file = new wxFFile(fileName, "rb");
|
||||||
m_file_destroy = TRUE;
|
m_file_destroy = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user