mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user