]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stream.cpp
Backed-out PNG8 patch (no time to look at why
[wxWidgets.git] / src / common / stream.cpp
index b2154a2d591302c6528f4ee8980fb7192e4c012a..62a8e98e7d971ac09cccf308b5e7c6bd787278b1 100644 (file)
@@ -1185,6 +1185,13 @@ wxBufferedOutputStream::~wxBufferedOutputStream()
     delete m_o_streambuf;
 }
 
+bool wxBufferedOutputStream::Close()
+{
+    Sync();
+    return IsOk();
+}
+
+
 wxOutputStream& wxBufferedOutputStream::Write(const void *buffer, size_t size)
 {
     m_lastcount = 0;