]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stream.h
added WX_FORWARD_STD_METHODS_TO_SUBWINDOWS macro
[wxWidgets.git] / include / wx / stream.h
index dc574b220028e75bd34fc77dff5086c6dc16481e..5799895fe032553299848d2c849e01b785a40f87 100644 (file)
@@ -257,6 +257,7 @@ public:
     virtual size_t LastWrite() const { return wxStreamBase::m_lastcount; }
 
     virtual void Sync();
+    virtual bool Close() { return true; }
 
     wxOutputStream& operator<<(wxInputStream& out) { return Write(out); }
     wxOutputStream& operator<<( __wxOutputManip func) { return func(*this); }
@@ -515,6 +516,7 @@ public:
     wxFileOffset TellO() const;
 
     void Sync();
+    bool Close();
 
     wxFileOffset GetLength() const;