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:
parent
adc39ef20c
commit
97d6a30b2c
@ -103,6 +103,7 @@
|
||||
$1 = new wxMemoryBuffer(len);
|
||||
temp = True;
|
||||
memcpy($1->GetData(), str, len);
|
||||
$1->SetDataLen(len);
|
||||
}
|
||||
|
||||
%typemap(freearg) wxMemoryBuffer& {
|
||||
|
Loading…
Reference in New Issue
Block a user