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:
parent
384223b34b
commit
421db2ada5
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user