wxFileOffset GetLength() const;
bool Ok() const { return IsOk(); }
- bool IsOk() const { return m_file->IsOpened(); }
+ virtual bool IsOk() const { return (wxStreamBase::IsOk() && m_file->IsOpened()); }
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
protected:
wxFileOffset GetLength() const;
bool Ok() const { return IsOk(); }
- bool IsOk() const { return m_file->IsOpened(); }
+ virtual bool IsOk() const { return (wxStreamBase::IsOk() && m_file->IsOpened()); }
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
protected:
wxFileOffset GetLength() const;
bool Ok() const { return IsOk(); }
- bool IsOk() const { return m_file->IsOpened(); }
+ virtual bool IsOk() const { return (wxStreamBase::IsOk() && m_file->IsOpened()); }
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
protected:
wxFileOffset GetLength() const;
bool Ok() const { return IsOk(); }
- bool IsOk() const { return m_file->IsOpened(); }
+ virtual bool IsOk() const { return (wxStreamBase::IsOk() && m_file->IsOpened()); }
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
protected: