return m_file->Tell();
}
-bool wxFileInputStream::IsOk() const
-{
- return (wxStreamBase::IsOk() && m_file->IsOpened());
+bool wxFileInputStream::IsOk() const
+{
+ return wxStreamBase::IsOk() && m_file->IsOpened();
}
// ----------------------------------------------------------------------------
return m_file->Length();
}
-bool wxFileOutputStream::IsOk() const
-{
- return (wxStreamBase::IsOk() && m_file->IsOpened());
+bool wxFileOutputStream::IsOk() const
+{
+ return wxStreamBase::IsOk() && m_file->IsOpened();
}
// ----------------------------------------------------------------------------
wxFileOutputStream::m_file = wxFileInputStream::m_file;
}
+bool wxFileStream::IsOk() const
+{
+ return wxStreamBase::IsOk() && wxFileInputStream::m_file->IsOpened();
+}
+
#endif //wxUSE_FILE
#if wxUSE_FFILE
return m_file->Tell();
}
-bool wxFFileInputStream::IsOk() const
-{
- return (wxStreamBase::IsOk() && m_file->IsOpened());
+bool wxFFileInputStream::IsOk() const
+{
+ return wxStreamBase::IsOk() && m_file->IsOpened();
}
// ----------------------------------------------------------------------------
return m_file->Length();
}
-bool wxFFileOutputStream::IsOk() const
-{
- return (wxStreamBase::IsOk() && m_file->IsOpened());
+bool wxFFileOutputStream::IsOk() const
+{
+ return wxStreamBase::IsOk() && m_file->IsOpened();
}
// ----------------------------------------------------------------------------