]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/streams.i
iconv() doesn't set the trailing zero
[wxWidgets.git] / wxPython / src / streams.i
index ee087b4f9699b3c110988683450cc2d0bb7d3ab9..9e4feb153793978229f40a79b75a4cc70c2267a4 100644 (file)
@@ -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;