]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/gizmos.py
b101082a83e06120d9dc3af12a086a8d267a0254
[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 wxDynamicSashSplitEventPtr = wx.gizmos.DynamicSashSplitEventPtr
28 wxDynamicSashUnifyEvent = wx.gizmos.DynamicSashUnifyEvent
29 wxDynamicSashUnifyEventPtr = wx.gizmos.DynamicSashUnifyEventPtr
30 wxPreDynamicSashWindow = wx.gizmos.PreDynamicSashWindow
31 wxDynamicSashWindow = wx.gizmos.DynamicSashWindow
32 wxDynamicSashWindowPtr = wx.gizmos.DynamicSashWindowPtr
33 wxEL_ALLOW_NEW = wx.gizmos.EL_ALLOW_NEW
34 wxEL_ALLOW_EDIT = wx.gizmos.EL_ALLOW_EDIT
35 wxEL_ALLOW_DELETE = wx.gizmos.EL_ALLOW_DELETE
36 wxEditableListBox = wx.gizmos.EditableListBox
37 wxEditableListBoxPtr = wx.gizmos.EditableListBoxPtr
38 wxRemotelyScrolledTreeCtrl = wx.gizmos.RemotelyScrolledTreeCtrl
39 wxRemotelyScrolledTreeCtrlPtr = wx.gizmos.RemotelyScrolledTreeCtrlPtr
40 wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
41 wxTreeCompanionWindowPtr = wx.gizmos.TreeCompanionWindowPtr
42 wxThinSplitterWindow = wx.gizmos.ThinSplitterWindow
43 wxThinSplitterWindowPtr = wx.gizmos.ThinSplitterWindowPtr
44 wxSplitterScrolledWindow = wx.gizmos.SplitterScrolledWindow
45 wxSplitterScrolledWindowPtr = wx.gizmos.SplitterScrolledWindowPtr
46 wxLED_ALIGN_LEFT = wx.gizmos.LED_ALIGN_LEFT
47 wxLED_ALIGN_RIGHT = wx.gizmos.LED_ALIGN_RIGHT
48 wxLED_ALIGN_CENTER = wx.gizmos.LED_ALIGN_CENTER
49 wxLED_ALIGN_MASK = wx.gizmos.LED_ALIGN_MASK
50 wxLED_DRAW_FADED = wx.gizmos.LED_DRAW_FADED
51 wxPreLEDNumberCtrl = wx.gizmos.PreLEDNumberCtrl
52 wxLEDNumberCtrl = wx.gizmos.LEDNumberCtrl
53 wxLEDNumberCtrlPtr = wx.gizmos.LEDNumberCtrlPtr
54 wxTL_ALIGN_LEFT = wx.gizmos.TL_ALIGN_LEFT
55 wxTL_ALIGN_RIGHT = wx.gizmos.TL_ALIGN_RIGHT
56 wxTL_ALIGN_CENTER = wx.gizmos.TL_ALIGN_CENTER
57 wxTREE_HITTEST_ONITEMCOLUMN = wx.gizmos.TREE_HITTEST_ONITEMCOLUMN
58 wxTreeListColumnInfo = wx.gizmos.TreeListColumnInfo
59 wxTreeListColumnInfoPtr = wx.gizmos.TreeListColumnInfoPtr
60 wxPreTreeListCtrl = wx.gizmos.PreTreeListCtrl
61 wxTreeListCtrl = wx.gizmos.TreeListCtrl
62 wxTreeListCtrlPtr = wx.gizmos.TreeListCtrlPtr
63
64
65 d = globals()
66 for k, v in wx.gizmos.__dict__.iteritems():
67 if k.startswith('EVT'):
68 d[k] = v
69 del d, k, v
70
71
72