]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/my_typemaps.i
Add the masked package dir
[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);