X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1013a78945f502d451641aef576ae7111b38bdf5..c29c95fe24973b94fd724db767193171ca7c513d:/docs/doxygen/scripts/c_tools.py diff --git a/docs/doxygen/scripts/c_tools.py b/docs/doxygen/scripts/c_tools.py index 6df0d9bece..b519a240b2 100644 --- a/docs/doxygen/scripts/c_tools.py +++ b/docs/doxygen/scripts/c_tools.py @@ -50,15 +50,16 @@ class CBuilder: wxc_classname = 'wxC' + aclass.name[2:].capitalize() for amethod in aclass.constructors: - if amethod.name.startswith('m_'): - # for some reason, public members are listed as methods - continue retval += """ // %s %s%s;\n\n """ % (amethod.brief_description, wxc_classname + '* ' + wxc_classname + '_' + amethod.name, amethod.argsstring) for amethod in aclass.methods: + if amethod.name.startswith('m_'): + # for some reason, public members are listed as methods + continue + args = '(' + wxc_classname + '* obj' if amethod.argsstring.find('()') != -1: args += ')'