]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/doxygen/doxymlparser.py
Catch the return type when it's inside a <ref> tag.
[wxWidgets.git] / docs / doxygen / doxymlparser.py
index bbae794cb62972654ae1185396c04e026ab47f7d..010eb88c045735c849931d4d469846f2b0d76355 100755 (executable)
@@ -95,6 +95,8 @@ Detailed Description:
 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()
             
@@ -147,6 +149,7 @@ class DoxyMLParser:
                         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__":