Merged the wxPy_newswig branch into the HEAD branch (main trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
14
wxPython/wxPython/__init__.py
Normal file
14
wxPython/wxPython/__init__.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# The "old" wxPython package
|
||||
|
||||
|
||||
# We need to be able to import from the wx package, but there is also
|
||||
# a wxPyton.wx module and that woudl normally be chosen first by
|
||||
# import statements. So instead we'll have a wxPython._wx module and
|
||||
# then stuff it into sys.modules with a wxPython.wx alias so odl
|
||||
# programs will still work.
|
||||
|
||||
import _wx
|
||||
import sys
|
||||
sys.modules['wxPython.wx'] = _wx
|
||||
wx = _wx
|
||||
del sys
|
Reference in New Issue
Block a user