Also added wxFFileStream::IsOk() and corrected IsOk() implementations of
wxFileInput/OutputStream to call the immediate base class version of this method and not wxStreamBase one. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -171,7 +171,7 @@ public:
|
||||
wxFileOffset GetLength() const;
|
||||
|
||||
bool Ok() const { return IsOk(); }
|
||||
virtual bool IsOk() const ;
|
||||
virtual bool IsOk() const;
|
||||
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
|
||||
|
||||
protected:
|
||||
@@ -193,6 +193,7 @@ class WXDLLIMPEXP_BASE wxFFileStream : public wxFFileInputStream,
|
||||
{
|
||||
public:
|
||||
wxFFileStream(const wxString& fileName);
|
||||
virtual bool IsOk() const;
|
||||
|
||||
private:
|
||||
DECLARE_NO_COPY_CLASS(wxFFileStream)
|
||||
|
Reference in New Issue
Block a user