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
This commit is contained in:
David Elliott 2007-07-09 17:41:51 +00:00
parent 1ffeecf7a9
commit 345fec0d57

View File

@ -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