X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..66f2aa61c3c7bc326f3287739eded70ca61f775d:/include/wx/sstream.h 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);