X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/588066b7a39629e44bb39f1ab436b80f38c13f33..7249080588e30b4740adc138e793ffa0ead4b5ef:/include/wx/stream.h diff --git a/include/wx/stream.h b/include/wx/stream.h index dc574b2200..5799895fe0 100644 --- a/include/wx/stream.h +++ b/include/wx/stream.h @@ -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;