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()
 | 
			
		||||
 | 
			
		||||
        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 += ')'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user