]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/gizmos.py
12d11894b60817692be29fd14ad2b1f9abba3c2f
[wxWidgets.git] / wxPython / wxPython / gizmos.py
1 ## This file reverse renames symbols in the wx package to give
2 ## them their wx prefix again, for backwards compatibility.
3 ##
4 ## Generated by ./distrib/build_renamers.py
5
6 # This silly stuff here is so the wxPython.wx module doesn't conflict
7 # with the wx package. We need to import modules from the wx package
8 # here, then we'll put the wxPython.wx entry back in sys.modules.
9 import sys
10 _wx = None
11 if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15 import wx.gizmos
16
17 sys.modules['wxPython.wx'] = _wx
18 del sys, _wx
19
20
21 # Now assign all the reverse-renamed names:
22 wxEVT_DYNAMIC_SASH_SPLIT = wx.gizmos.wxEVT_DYNAMIC_SASH_SPLIT
23 wxEVT_DYNAMIC_SASH_UNIFY = wx.gizmos.wxEVT_DYNAMIC_SASH_UNIFY
24 wxDS_MANAGE_SCROLLBARS = wx.gizmos.DS_MANAGE_SCROLLBARS
25 wxDS_DRAG_CORNER = wx.gizmos.DS_DRAG_CORNER
26 wxDynamicSashSplitEvent = wx.gizmos.DynamicSashSplitEvent
27 wxDynamicSashUnifyEvent = wx.gizmos.DynamicSashUnifyEvent
28 wxPreDynamicSashWindow = wx.gizmos.PreDynamicSashWindow
29 wxDynamicSashWindow = wx.gizmos.DynamicSashWindow
30 wxEL_ALLOW_NEW = wx.gizmos.EL_ALLOW_NEW
31 wxEL_ALLOW_EDIT = wx.gizmos.EL_ALLOW_EDIT
32 wxEL_ALLOW_DELETE = wx.gizmos.EL_ALLOW_DELETE
33 wxEditableListBox = wx.gizmos.EditableListBox
34 wxRemotelyScrolledTreeCtrl = wx.gizmos.RemotelyScrolledTreeCtrl
35 wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
36 wxThinSplitterWindow = wx.gizmos.ThinSplitterWindow
37 wxSplitterScrolledWindow = wx.gizmos.SplitterScrolledWindow
38 wxLED_ALIGN_LEFT = wx.gizmos.LED_ALIGN_LEFT
39 wxLED_ALIGN_RIGHT = wx.gizmos.LED_ALIGN_RIGHT
40 wxLED_ALIGN_CENTER = wx.gizmos.LED_ALIGN_CENTER
41 wxLED_ALIGN_MASK = wx.gizmos.LED_ALIGN_MASK
42 wxLED_DRAW_FADED = wx.gizmos.LED_DRAW_FADED
43 wxPreLEDNumberCtrl = wx.gizmos.PreLEDNumberCtrl
44 wxLEDNumberCtrl = wx.gizmos.LEDNumberCtrl
45 wxTL_ALIGN_LEFT = wx.gizmos.TL_ALIGN_LEFT
46 wxTL_ALIGN_RIGHT = wx.gizmos.TL_ALIGN_RIGHT
47 wxTL_ALIGN_CENTER = wx.gizmos.TL_ALIGN_CENTER
48 wxTREE_HITTEST_ONITEMCOLUMN = wx.gizmos.TREE_HITTEST_ONITEMCOLUMN
49 wxTreeListColumnInfo = wx.gizmos.TreeListColumnInfo
50 wxPreTreeListCtrl = wx.gizmos.PreTreeListCtrl
51 wxTreeListCtrl = wx.gizmos.TreeListCtrl
52
53
54 d = globals()
55 for k, v in wx.gizmos.__dict__.iteritems():
56 if k.startswith('EVT'):
57 d[k] = v
58 del d, k, v
59
60
61