]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datstrm.h
Changes related to stream includes
[wxWidgets.git] / include / wx / datstrm.h
index de87a83323daf2f35cd2d7f0d5276aeb76b689f9..66320d1a64e8456a29a27361fa6fcbce4d528845 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <wx/stream.h>
 
-class wxDataInputStream: public wxFilterInputStream {
+class wxDataInputStream: public virtual wxFilterInputStream {
 public:
   wxDataInputStream(wxInputStream& s);
   virtual ~wxDataInputStream();
@@ -31,7 +31,7 @@ public:
   wxString ReadString();
 };
 
-class wxDataOutputStream: public wxFilterOutputStream {
+class wxDataOutputStream: public virtual wxFilterOutputStream {
  public:
   wxDataOutputStream(wxOutputStream& s);
   virtual ~wxDataOutputStream();
@@ -44,5 +44,11 @@ class wxDataOutputStream: public wxFilterOutputStream {
   void WriteString(const wxString& string);
 };
 
+class wxDataStream: public wxDataInputStream, public wxDataOutputStream,
+                    public wxFilterStream {
+ public:
+  wxDataStream(wxStream& stream);
+};
+
 #endif
     // _WX_DATSTREAM_H_