]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mstream.h
allow passing -1 range to SetScrollbar() to indicate the the scrollbar should be...
[wxWidgets.git] / include / wx / mstream.h
index d3a1e0ab9bc4aafd528b8a7392c6f9b3ea586ab3..eb5e729ad5888296e4f383a9df58d3ec817bce6f 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/stream.h"
 
-class WXDLLIMPEXP_BASE wxMemoryOutputStream;
+class WXDLLIMPEXP_FWD_BASE wxMemoryOutputStream;
 
 class WXDLLIMPEXP_BASE wxMemoryInputStream : public wxInputStream
 {
@@ -31,6 +31,7 @@ public:
         InitFromStream(stream, lenFile);
     }
     wxMemoryInputStream(wxMemoryInputStream& stream)
+        : wxInputStream()
     {
         InitFromStream(stream, wxInvalidOffset);
     }