X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd6d1477e5c3ba58e021d6df39df5cf7bb58de3a..df16c649d21716a3e54eb2598477fa9ed970f278:/wxPython/src/my_typemaps.i diff --git a/wxPython/src/my_typemaps.i b/wxPython/src/my_typemaps.i index 9e4c01a0c2..d9b078bc4e 100644 --- a/wxPython/src/my_typemaps.i +++ b/wxPython/src/my_typemaps.i @@ -103,6 +103,7 @@ $1 = new wxMemoryBuffer(len); temp = True; memcpy($1->GetData(), str, len); + $1->SetDataLen(len); } %typemap(freearg) wxMemoryBuffer& {