]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxPython/wizard.py
workaround for buggy setlocale() under AIX (without this wxLocale didn't work at...
[wxWidgets.git] / wxPython / wxPython / wizard.py
CommitLineData
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.
9import sys
10_wx = None
11if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15import wx.wizard
16
17sys.modules['wxPython.wx'] = _wx
18del sys, _wx
19
20
21# Now assign all the reverse-renamed names:
22wxWIZARD_EX_HELPBUTTON = wx.wizard.WIZARD_EX_HELPBUTTON
23wxEVT_WIZARD_PAGE_CHANGED = wx.wizard.wxEVT_WIZARD_PAGE_CHANGED
24wxEVT_WIZARD_PAGE_CHANGING = wx.wizard.wxEVT_WIZARD_PAGE_CHANGING
25wxEVT_WIZARD_CANCEL = wx.wizard.wxEVT_WIZARD_CANCEL
26wxEVT_WIZARD_HELP = wx.wizard.wxEVT_WIZARD_HELP
27wxEVT_WIZARD_FINISHED = wx.wizard.wxEVT_WIZARD_FINISHED
28wxWizardEvent = wx.wizard.WizardEvent
423af76e 29wxWizardEventPtr = wx.wizard.WizardEventPtr
d14a1e28 30wxWizardPage = wx.wizard.WizardPage
423af76e 31wxWizardPagePtr = wx.wizard.WizardPagePtr
d14a1e28 32wxPyWizardPage = wx.wizard.PyWizardPage
423af76e 33wxPyWizardPagePtr = wx.wizard.PyWizardPagePtr
bf5ff0c3 34wxPrePyWizardPage = wx.wizard.PrePyWizardPage
d14a1e28 35wxWizardPageSimple = wx.wizard.WizardPageSimple
423af76e 36wxWizardPageSimplePtr = wx.wizard.WizardPageSimplePtr
bf5ff0c3
RD
37wxPreWizardPageSimple = wx.wizard.PreWizardPageSimple
38wxWizardPageSimple_Chain = wx.wizard.WizardPageSimple_Chain
d14a1e28 39wxWizard = wx.wizard.Wizard
423af76e 40wxWizardPtr = wx.wizard.WizardPtr
bf5ff0c3 41wxPreWizard = wx.wizard.PreWizard
d14a1e28
RD
42
43
44d = globals()
45for k, v in wx.wizard.__dict__.iteritems():
46 if k.startswith('EVT'):
47 d[k] = v
48del d, k, v
49
50
51