]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxPython/_wx.py
added a test to check how exception handling works with Win32 SEH; corrected copyright
[wxWidgets.git] / wxPython / wxPython / _wx.py
CommitLineData
d14a1e28
RD
1
2# Load all symbols that should appear in the wxPython.wx namespace
54f9ee45
RD
3from _core import *
4from _core import __version__
5from _gdi import *
6from _windows import *
7from _controls import *
8from _misc import *
d14a1e28
RD
9
10# Cleanup this one.
11del wx
cf763f5b
RD
12
13
998e6e9f
RD
14# Make some aliases to help backawrds compatibility for the old
15# namespace. This is only for code that is using tthe wxPython.wx
16# package and using names and classes in the old way. New code should
17# use the wx namespace and the new names.
cf763f5b
RD
18
19wxPyDefaultPosition = wxDefaultPosition
20wxPyDefaultSize = wxDefaultSize
21wxNoRefBitmap = wxBitmap
22wxSystemSettings_GetSystemColour = wxSystemSettings_GetColour
23wxSystemSettings_GetSystemFont = wxSystemSettings_GetFont
24wxSystemSettings_GetSystemMetric = wxSystemSettings_GetMetric
25wxColor = wxColour
26wxNamedColor = wxNamedColour
27
28NULL = None
29TRUE = true = True
30FALSE = false = False
31
32def wxPyTypeCast(obj, typeStr):
33 return obj
34
35wxPy_isinstance = isinstance
36
88c0b108 37