]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/my_typemaps.i
added defines for wxchar workaround
[wxWidgets.git] / wxPython / src / my_typemaps.i
index 78ea572224b99d683a288bf27ea384b3eced6d27..dbf2433fe06114e21427f0df427e857fd66359ed 100644 (file)
 %#else
         PyObject* str  = PyObject_Str(item);
 %#endif
+        if (PyErr_Occurred())  SWIG_fail;
         $1->Add(Py2wxString(str));
         Py_DECREF(item);
         Py_DECREF(str);