]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/_wx.py
Patch #949276: Less agresive strings test.
[wxWidgets.git] / wxPython / wxPython / _wx.py
1
2 # Load all symbols that should appear in the wxPython.wx namespace
3 from _core import *
4 from _core import __version__
5 from _gdi import *
6 from _windows import *
7 from _controls import *
8 from _misc import *
9
10 # Cleanup this one.
11 del wx
12
13
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.
18
19 wxPyDefaultPosition = wxDefaultPosition
20 wxPyDefaultSize = wxDefaultSize
21 wxNoRefBitmap = wxBitmap
22 wxSystemSettings_GetSystemColour = wxSystemSettings_GetColour
23 wxSystemSettings_GetSystemFont = wxSystemSettings_GetFont
24 wxSystemSettings_GetSystemMetric = wxSystemSettings_GetMetric
25 wxColor = wxColour
26 wxNamedColor = wxNamedColour
27
28 NULL = None
29 TRUE = true = True
30 FALSE = false = False
31
32 def wxPyTypeCast(obj, typeStr):
33 return obj
34
35 wxPy_isinstance = isinstance
36
37