X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f42cff13eaba35dda3527b2ca658dd00b9e7a46..e0272d05780ae2f150b6217fd20048a3e3d21c65:/include/wx/mstream.h diff --git a/include/wx/mstream.h b/include/wx/mstream.h index 0f73867261..3bd53e642d 100644 --- a/include/wx/mstream.h +++ b/include/wx/mstream.h @@ -14,9 +14,13 @@ #include class wxMemoryInputStream: public wxInputStream { + private: + size_t m_length; + public: wxMemoryInputStream(const char *data, size_t length); virtual ~wxMemoryInputStream(); + virtual size_t StreamSize() const { return m_length; } char Peek(); };