git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			52 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
## This file reverse renames symbols in the wx package to give
 | 
						|
## them their wx prefix again, for backwards compatibility.
 | 
						|
##
 | 
						|
## Generated by BuildRenamers in config.py
 | 
						|
 | 
						|
# This silly stuff here is so the wxPython.wx module doesn't conflict
 | 
						|
# with the wx package.  We need to import modules from the wx package
 | 
						|
# here, then we'll put the wxPython.wx entry back in sys.modules.
 | 
						|
import sys
 | 
						|
_wx = None
 | 
						|
if sys.modules.has_key('wxPython.wx'):
 | 
						|
    _wx = sys.modules['wxPython.wx']
 | 
						|
    del sys.modules['wxPython.wx']
 | 
						|
 | 
						|
import wx.wizard
 | 
						|
 | 
						|
sys.modules['wxPython.wx'] = _wx
 | 
						|
del sys, _wx
 | 
						|
 | 
						|
 | 
						|
# Now assign all the reverse-renamed names:
 | 
						|
wxWIZARD_EX_HELPBUTTON = wx.wizard.WIZARD_EX_HELPBUTTON
 | 
						|
wxEVT_WIZARD_PAGE_CHANGED = wx.wizard.wxEVT_WIZARD_PAGE_CHANGED
 | 
						|
wxEVT_WIZARD_PAGE_CHANGING = wx.wizard.wxEVT_WIZARD_PAGE_CHANGING
 | 
						|
wxEVT_WIZARD_CANCEL = wx.wizard.wxEVT_WIZARD_CANCEL
 | 
						|
wxEVT_WIZARD_HELP = wx.wizard.wxEVT_WIZARD_HELP
 | 
						|
wxEVT_WIZARD_FINISHED = wx.wizard.wxEVT_WIZARD_FINISHED
 | 
						|
wxWizardEvent = wx.wizard.WizardEvent
 | 
						|
wxWizardEventPtr = wx.wizard.WizardEventPtr
 | 
						|
wxWizardPage = wx.wizard.WizardPage
 | 
						|
wxWizardPagePtr = wx.wizard.WizardPagePtr
 | 
						|
wxPyWizardPage = wx.wizard.PyWizardPage
 | 
						|
wxPyWizardPagePtr = wx.wizard.PyWizardPagePtr
 | 
						|
wxPrePyWizardPage = wx.wizard.PrePyWizardPage
 | 
						|
wxWizardPageSimple = wx.wizard.WizardPageSimple
 | 
						|
wxWizardPageSimplePtr = wx.wizard.WizardPageSimplePtr
 | 
						|
wxPreWizardPageSimple = wx.wizard.PreWizardPageSimple
 | 
						|
wxWizardPageSimple_Chain = wx.wizard.WizardPageSimple_Chain
 | 
						|
wxWizard = wx.wizard.Wizard
 | 
						|
wxWizardPtr = wx.wizard.WizardPtr
 | 
						|
wxPreWizard = wx.wizard.PreWizard
 | 
						|
 | 
						|
 | 
						|
d = globals()
 | 
						|
for k, v in wx.wizard.__dict__.iteritems():
 | 
						|
    if k.startswith('EVT'):
 | 
						|
        d[k] = v
 | 
						|
del d, k, v
 | 
						|
 | 
						|
 | 
						|
 |