X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a541c325865cd11d1ba8ef25333b8650b2823c8a..4bc6e5c51af44eb04313ae14f390f3780dfea346:/wxPython/src/streams.i?ds=sidebyside diff --git a/wxPython/src/streams.i b/wxPython/src/streams.i index ee087b4f96..9e4feb1537 100644 --- a/wxPython/src/streams.i +++ b/wxPython/src/streams.i @@ -39,7 +39,7 @@ $target = temp->m_wxis; created = FALSE; } else { - $target = wxPyCBInputStream::create($source, FALSE); + $target = wxPyCBInputStream_create($source, FALSE); if ($target == NULL) { PyErr_SetString(PyExc_TypeError,"Expected _wxInputStream_p or Python file-like object."); return NULL;