]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix compilo due to r47267.
authorDavid Elliott <dfe@tgwbd.org>
Mon, 9 Jul 2007 17:41:51 +0000 (17:41 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 9 Jul 2007 17:41:51 +0000 (17:41 +0000)
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

index 1f1600deffd66ba20e270206639ac6f83baedad9..c912b92eaf1660766235d239d3d0caf58c25af97 100644 (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