]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mstream.h
fix for SetValue() losing effect after focus change (patch 1150911)
[wxWidgets.git] / include / wx / mstream.h
index 525c6d9cccc347da6f23cc6b4c842d25aecb3df6..2719d90474caf2bcb137c16b6bd3824e76046e59 100644 (file)
@@ -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;