Merge pull request #1808 from StefanBruens/do_not_mangle_param_name

Do not strip wx prefix from parameter names
This commit is contained in:
Robin Dunn
2020-10-08 21:16:56 -07:00
committed by GitHub

View File

@@ -49,6 +49,7 @@ def removeWxPrefixes(node):
and item.name.startswith('wx') \
and not item.name.startswith('wxEVT_') \
and not isinstance(item, (extractors.TypedefDef,
extractors.ParamDef,
extractors.MethodDef )): # TODO: Any others?
item.pyName = item.name[2:]
item.wxDropped = True