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:
@@ -227,7 +227,7 @@ wxFileStream::wxFileStream(const wxString& fileName)
|
|||||||
|
|
||||||
bool wxFileStream::IsOk() const
|
bool wxFileStream::IsOk() const
|
||||||
{
|
{
|
||||||
return wxStreamBase::IsOk() && wxFileInputStream::m_file->IsOpened();
|
return wxFileOutputStream::IsOk() && wxFileInputStream::m_file->IsOpened();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //wxUSE_FILE
|
#endif //wxUSE_FILE
|
||||||
|
Reference in New Issue
Block a user