git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60093
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
def getTextValue(node, recursive=False):
text = ""
for child in node.childNodes:
def getTextValue(node, recursive=False):
text = ""
for child in node.childNodes:
+ if child.nodeType == child.ELEMENT_NODE and child.nodeName == "ref":
+ text += getTextValue(child)
if child.nodeType == child.TEXT_NODE:
text += child.nodeValue.strip()
if child.nodeType == child.TEXT_NODE:
text += child.nodeValue.strip()
if child.nodeType == child.ELEMENT_NODE:
param[child.nodeName] = getTextValue(child)
new_method.params.append(param)
if child.nodeType == child.ELEMENT_NODE:
param[child.nodeName] = getTextValue(child)
new_method.params.append(param)
+ print "Adding %s" % (new_method.name + new_method.argsstring)
new_class.methods.append(new_method)
if __name__ == "__main__":
new_class.methods.append(new_method)
if __name__ == "__main__":