]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | ## This file reverse renames symbols in the wx package to give |
2 | ## them their wx prefix again, for backwards compatibility. | |
3 | ## | |
237302e7 | 4 | ## Generated by BuildRenamers in config.py |
d14a1e28 RD |
5 | |
6 | # This silly stuff here is so the wxPython.wx module doesn't conflict | |
7 | # with the wx package. We need to import modules from the wx package | |
8 | # here, then we'll put the wxPython.wx entry back in sys.modules. | |
9 | import sys | |
10 | _wx = None | |
11 | if sys.modules.has_key('wxPython.wx'): | |
12 | _wx = sys.modules['wxPython.wx'] | |
13 | del sys.modules['wxPython.wx'] | |
14 | ||
15 | import wx.wizard | |
16 | ||
17 | sys.modules['wxPython.wx'] = _wx | |
18 | del sys, _wx | |
19 | ||
20 | ||
21 | # Now assign all the reverse-renamed names: | |
22 | wxWIZARD_EX_HELPBUTTON = wx.wizard.WIZARD_EX_HELPBUTTON | |
23 | wxEVT_WIZARD_PAGE_CHANGED = wx.wizard.wxEVT_WIZARD_PAGE_CHANGED | |
24 | wxEVT_WIZARD_PAGE_CHANGING = wx.wizard.wxEVT_WIZARD_PAGE_CHANGING | |
25 | wxEVT_WIZARD_CANCEL = wx.wizard.wxEVT_WIZARD_CANCEL | |
26 | wxEVT_WIZARD_HELP = wx.wizard.wxEVT_WIZARD_HELP | |
27 | wxEVT_WIZARD_FINISHED = wx.wizard.wxEVT_WIZARD_FINISHED | |
28 | wxWizardEvent = wx.wizard.WizardEvent | |
29 | wxWizardPage = wx.wizard.WizardPage | |
d14a1e28 | 30 | wxPyWizardPage = wx.wizard.PyWizardPage |
bf5ff0c3 | 31 | wxPrePyWizardPage = wx.wizard.PrePyWizardPage |
d14a1e28 | 32 | wxWizardPageSimple = wx.wizard.WizardPageSimple |
bf5ff0c3 RD |
33 | wxPreWizardPageSimple = wx.wizard.PreWizardPageSimple |
34 | wxWizardPageSimple_Chain = wx.wizard.WizardPageSimple_Chain | |
d14a1e28 | 35 | wxWizard = wx.wizard.Wizard |
bf5ff0c3 | 36 | wxPreWizard = wx.wizard.PreWizard |
d14a1e28 RD |
37 | |
38 | ||
39 | d = globals() | |
40 | for k, v in wx.wizard.__dict__.iteritems(): | |
41 | if k.startswith('EVT'): | |
42 | d[k] = v | |
43 | del d, k, v | |
44 | ||
45 | ||
46 |