implemented wxMemoryInputStream::CanRead() and added tests for CanRead() to all stream tests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-03-17 15:38:09 +00:00
parent 764471557e
commit 2d76b6d8c3
9 changed files with 43 additions and 18 deletions

View 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; }