wxMemoryBuffer typemap needs to set the data length

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-05-07 22:17:13 +00:00
parent adc39ef20c
commit 97d6a30b2c

View File

@ -103,6 +103,7 @@
$1 = new wxMemoryBuffer(len);
temp = True;
memcpy($1->GetData(), str, len);
$1->SetDataLen(len);
}
%typemap(freearg) wxMemoryBuffer& {