fixed wxStreamBuffer::SetBufferIO() (thanks to Gilles Depeyrot)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-01-06 14:18:29 +00:00
parent 384223b34b
commit 421db2ada5

View File

@ -165,7 +165,7 @@ void wxStreamBuffer::SetBufferIO(void *start,
m_buffer_size = len;
// if we own it, we free it
m_destroybuf = !takeOwnership;
m_destroybuf = takeOwnership;
ResetBuffer();
}