]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mstream.h
* Some more CopyObject()
[wxWidgets.git] / include / wx / mstream.h
index 0f73867261eef819808b952ef1bb102833603815..3bd53e642dfa35038f3e1b5f59a384b1653d475c 100644 (file)
 #include <wx/stream.h>
 
 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();
 };