]> git.saurik.com Git - wxWidgets.git/commitdiff
Added m_destroybuf initialisation
authorJulian Smart <julian@anthemion.co.uk>
Sun, 26 Nov 2000 11:15:05 +0000 (11:15 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 26 Nov 2000 11:15:05 +0000 (11:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/stream.cpp

index 1e2dc7e45714a6a38ad5064036f5d06d5b2f9fcd..0a6991a42ff3c89bd954b23deeb557f463057881 100644 (file)
@@ -86,6 +86,7 @@ wxStreamBuffer::wxStreamBuffer(wxStreamBase& stream, BufMode mode)
 
     m_flushable = TRUE;
     m_destroystream = FALSE;
+    m_destroybuf = FALSE;
 }
 
 wxStreamBuffer::wxStreamBuffer(BufMode mode)
@@ -95,6 +96,7 @@ wxStreamBuffer::wxStreamBuffer(BufMode mode)
 
     m_flushable = FALSE;
     m_destroystream = TRUE;
+    m_destroybuf = FALSE;
 }
 
 wxStreamBuffer::wxStreamBuffer(const wxStreamBuffer& buffer)