X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/sstream.h?ds=inline diff --git a/include/wx/sstream.h b/include/wx/sstream.h index 8b202b0045..14845bb479 100644 --- a/include/wx/sstream.h +++ b/include/wx/sstream.h @@ -28,6 +28,7 @@ public: wxStringInputStream(const wxString& s); virtual wxFileOffset GetLength() const; + virtual bool IsSeekable() const { return true; } protected: virtual wxFileOffset OnSysSeek(wxFileOffset ofs, wxSeekMode mode); @@ -76,6 +77,8 @@ public: // get the string containing current output const wxString& GetString() const { return *m_str; } + virtual bool IsSeekable() const { return true; } + protected: virtual wxFileOffset OnSysTell() const; virtual size_t OnSysWrite(const void *buffer, size_t size);