Typo in a bug fix I made.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -50,15 +50,16 @@ class CBuilder:
|
|||||||
wxc_classname = 'wxC' + aclass.name[2:].capitalize()
|
wxc_classname = 'wxC' + aclass.name[2:].capitalize()
|
||||||
|
|
||||||
for amethod in aclass.constructors:
|
for amethod in aclass.constructors:
|
||||||
if amethod.name.startswith('m_'):
|
|
||||||
# for some reason, public members are listed as methods
|
|
||||||
continue
|
|
||||||
retval += """
|
retval += """
|
||||||
// %s
|
// %s
|
||||||
%s%s;\n\n
|
%s%s;\n\n
|
||||||
""" % (amethod.brief_description, wxc_classname + '* ' + wxc_classname + '_' + amethod.name, amethod.argsstring)
|
""" % (amethod.brief_description, wxc_classname + '* ' + wxc_classname + '_' + amethod.name, amethod.argsstring)
|
||||||
|
|
||||||
for amethod in aclass.methods:
|
for amethod in aclass.methods:
|
||||||
|
if amethod.name.startswith('m_'):
|
||||||
|
# for some reason, public members are listed as methods
|
||||||
|
continue
|
||||||
|
|
||||||
args = '(' + wxc_classname + '* obj'
|
args = '(' + wxc_classname + '* obj'
|
||||||
if amethod.argsstring.find('()') != -1:
|
if amethod.argsstring.find('()') != -1:
|
||||||
args += ')'
|
args += ')'
|
||||||
|
Reference in New Issue
Block a user