wxPython package and rename wxFooBar --> FooBar. That means that people imports without "import *" and can use names like wx.Frame instead of wx.wxFrame. This is phase 1 of a full transition to the new namespace. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			16 lines
		
	
	
		
			335 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			335 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """Provides a way to drop the wx prefix from wxPython objects."""
 | |
| 
 | |
| __author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
 | |
| __cvsid__ = "$Id$"
 | |
| __revision__ = "$Revision$"[11:-2]
 | |
| 
 | |
| import wx
 | |
| from wx import prefix
 | |
| 
 | |
| from wxPython.lib.colourchooser import intl
 | |
| prefix.rename(d_new=globals(), d_old=intl.__dict__)
 | |
| del intl
 | |
| 
 | |
| del prefix
 | |
| del wx
 |