X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7cacb43db1e69b87b257a67912b4d52995b070a..67393addd823ea1a9b653a93c8554e7fd013ecfa:/include/wx/wfstream.h diff --git a/include/wx/wfstream.h b/include/wx/wfstream.h index 79feb44fe4..b8b954ecca 100644 --- a/include/wx/wfstream.h +++ b/include/wx/wfstream.h @@ -39,7 +39,7 @@ public: wxFileOffset GetLength() const; bool Ok() const { return IsOk(); } - bool IsOk() const { return m_file->IsOpened(); } + virtual bool IsOk() const; bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; } protected: @@ -69,7 +69,7 @@ public: wxFileOffset GetLength() const; bool Ok() const { return IsOk(); } - bool IsOk() const { return m_file->IsOpened(); } + virtual bool IsOk() const; bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; } protected: @@ -140,7 +140,7 @@ public: wxFileOffset GetLength() const; bool Ok() const { return IsOk(); } - bool IsOk() const { return m_file->IsOpened(); } + virtual bool IsOk() const; bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; } protected: @@ -170,7 +170,7 @@ public: wxFileOffset GetLength() const; bool Ok() const { return IsOk(); } - bool IsOk() const { return m_file->IsOpened(); } + virtual bool IsOk() const ; bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; } protected: