]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mstream.h
don't crash if (char*)c_str() is used twice in a row on the same string and both...
[wxWidgets.git] / include / wx / mstream.h
index e5eb69156673ab2fe2b5d3e682d001ae5d780797..9ed77087f99d0231a177b77324f86609e92fe449 100644 (file)
@@ -39,7 +39,8 @@ public:
     virtual wxFileOffset GetLength() const { return m_length; }
     virtual bool IsSeekable() const { return true; }
 
-    char Peek();
+    virtual char Peek();
+    virtual bool CanRead() const;
 
     wxStreamBuffer *GetInputStreamBuffer() const { return m_i_streambuf; }