]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/libpy.c
it is now possible to add custom buttons into wxHtmlHelpFrame's toolbar
[wxWidgets.git] / utils / wxPython / src / libpy.c
index 89a14a606a6362f3c031474ac190346d089de63b..5841d40a508d731b98f94f569be7948f77a2e9ab 100644 (file)
@@ -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);