Skip to content

Commit

Permalink
Mark wxXmlSubclassFactory::Create as a factory function
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinD42 committed Apr 28, 2017
1 parent bceb1d2 commit 0272dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etg/_xrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class wxAnimation;
MethodDef(name='wxXmlSubclassFactory', isCtor=True),
MethodDef(name='~wxXmlSubclassFactory', isDtor=True),
MethodDef(name='Create', type='wxObject*',
isVirtual=True, isPureVirtual=True,
isVirtual=True, isPureVirtual=True, factory=True,
items=[ParamDef(type='const wxString&', name='className')])
])
module.addItem(cls)
Expand Down

0 comments on commit 0272dab

Please sign in to comment.