mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
Merge pull request #1808 from StefanBruens/do_not_mangle_param_name
Do not strip wx prefix from parameter names
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user