X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/588066b7a39629e44bb39f1ab436b80f38c13f33..248eaddf7a14cefa161d514763e8fefb8d6f2f79:/include/wx/mstream.h diff --git a/include/wx/mstream.h b/include/wx/mstream.h index 525c6d9ccc..2719d90474 100644 --- a/include/wx/mstream.h +++ b/include/wx/mstream.h @@ -23,6 +23,7 @@ public: virtual ~wxMemoryInputStream(); virtual wxFileOffset GetLength() const { return m_length; } virtual bool Eof() const; + virtual bool IsSeekable() const { return true; } char Peek(); @@ -51,6 +52,7 @@ public: wxMemoryOutputStream(void *data = NULL, size_t length = 0); virtual ~wxMemoryOutputStream(); virtual wxFileOffset GetLength() const { return m_o_streambuf->GetLastAccess(); } + virtual bool IsSeekable() const { return true; } size_t CopyTo(void *buffer, size_t len) const;