]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/__init__.py
ff5af048a7fc8a84fa8a9e8c85bec39445c2bad7
[wxWidgets.git] / wxPython / wxPython / __init__.py
1 # The "old" wxPython package
2
3
4 # We need to be able to import from the wx package, but there is also
5 # a wxPyton.wx module and that woudl normally be chosen first by
6 # import statements. So instead we'll have a wxPython._wx module and
7 # then stuff it into sys.modules with a wxPython.wx alias so odl
8 # programs will still work.
9
10 import _wx
11 import sys
12 sys.modules['wxPython.wx'] = _wx
13 wx = _wx
14 del sys