X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1afc06c2d8c945535175bf32e427aac0bbb704de..b854b7b82e033d1dbd9d300402df50ec5e1e8b74:/utils/wxPython/src/libpy.c diff --git a/utils/wxPython/src/libpy.c b/utils/wxPython/src/libpy.c index 89a14a606a..5841d40a50 100644 --- a/utils/wxPython/src/libpy.c +++ b/utils/wxPython/src/libpy.c @@ -401,8 +401,6 @@ SWIG_GetPtrObj(PyObject *obj, void **ptr, char *type) { if (!PyString_Check(obj)) { if (!PyInstance_Check(obj) || !(sobj = PyObject_GetAttrString(obj,"this"))) return ""; -// sobj = PyObject_GetAttrString(obj,"this"); -// if (!sobj) return ""; } str = PyString_AsString(sobj); return SWIG_GetPtr(str,ptr,type);