]> git.saurik.com Git - wxWidgets.git/commitdiff
Typo in a bug fix I made.
authorKevin Ollivier <kevino@theolliviers.com>
Fri, 17 Jul 2009 18:42:15 +0000 (18:42 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Fri, 17 Jul 2009 18:42:15 +0000 (18:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/doxygen/scripts/c_tools.py

index 6df0d9bece5c25e68a016869f1027fd0db9a9c1f..b519a240b2e194eeb1ff0939cbe468ef66076dfe 100644 (file)
@@ -50,15 +50,16 @@ class CBuilder:
         wxc_classname = 'wxC' + aclass.name[2:].capitalize()\r
 \r
         for amethod in aclass.constructors:\r
-            if amethod.name.startswith('m_'):\r
-                # for some reason, public members are listed as methods\r
-                continue\r
             retval += """\r
 // %s\r
 %s%s;\n\n\r
 """ % (amethod.brief_description, wxc_classname + '* ' + wxc_classname + '_' + amethod.name, amethod.argsstring)\r
 \r
         for amethod in aclass.methods:\r
+            if amethod.name.startswith('m_'):\r
+                # for some reason, public members are listed as methods\r
+                continue\r
+        \r
             args = '(' + wxc_classname + '* obj'\r
             if amethod.argsstring.find('()') != -1:\r
                 args += ')'\r