Clone is a factory

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-11-05 04:38:48 +00:00
parent f519d77aba
commit 1a02e48619

View File

@@ -30,12 +30,11 @@ def run():
# Tweak the parsed meta objects in the module object as needed for
# customizing the generated code and docstrings.
c = module.find('wxValidator')
assert isinstance(c, etgtools.ClassDef)
c.find('Clone').factory = True
c.addPyCode("PyValidator = wx.deprecated(Validator)")
#-----------------------------------------------------------------
tools.doCommonTweaks(module)