From 345fec0d578c3033b82d799fbfd0c647b2229e30 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Mon, 9 Jul 2007 17:41:51 +0000 Subject: [PATCH] Fix compilo due to r47267. That patch might need some review because it does not use direct base classes but skips up to wxStreamBase. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wfstream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/wfstream.cpp b/src/common/wfstream.cpp index 1f1600deff..c912b92eaf 100644 --- a/src/common/wfstream.cpp +++ b/src/common/wfstream.cpp @@ -227,7 +227,7 @@ wxFileStream::wxFileStream(const wxString& fileName) bool wxFileStream::IsOk() const { - return wxStreamBase::IsOk() && wxFileInputStream::m_file->IsOpened(); + return wxFileOutputStream::IsOk() && wxFileInputStream::m_file->IsOpened(); } #endif //wxUSE_FILE