_arg0 = temp->m_wxis;
created = FALSE;
} else {
- _arg0 = wxPyCBInputStream::create(_obj0, FALSE);
+ _arg0 = wxPyCBInputStream_create(_obj0, FALSE);
if (_arg0 == NULL) {
PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p or Python file-like object.");
return NULL;
_arg0 = temp->m_wxis;
created = FALSE;
} else {
- _arg0 = wxPyCBInputStream::create(_obj0, FALSE);
+ _arg0 = wxPyCBInputStream_create(_obj0, FALSE);
if (_arg0 == NULL) {
PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p or Python file-like object.");
return NULL;
_arg0 = temp->m_wxis;
created = FALSE;
} else {
- _arg0 = wxPyCBInputStream::create(_obj0, FALSE);
+ _arg0 = wxPyCBInputStream_create(_obj0, FALSE);
if (_arg0 == NULL) {
PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p or Python file-like object.");
return NULL;
_arg1 = temp->m_wxis;
created = FALSE;
} else {
- _arg1 = wxPyCBInputStream::create(_obj1, FALSE);
+ _arg1 = wxPyCBInputStream_create(_obj1, FALSE);
if (_arg1 == NULL) {
PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p or Python file-like object.");
return NULL;
_arg1 = temp->m_wxis;
created = FALSE;
} else {
- _arg1 = wxPyCBInputStream::create(_obj1, FALSE);
+ _arg1 = wxPyCBInputStream_create(_obj1, FALSE);
if (_arg1 == NULL) {
PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p or Python file-like object.");
return NULL;
dataPtr = (unsigned char*) malloc(len);
memcpy(dataPtr, PyString_AsString(data), len);
self->SetData(dataPtr);
+ // wxImage takes ownership of dataPtr...
}
static PyObject *_wrap_wxImage_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;