]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/gizmos.py
69cc0b9c9c4fa66719ef88664ddb7e22cea1179f
[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 BuildRenamers in config.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 wxDynamicSashNameStr = wx.gizmos.DynamicSashNameStr
23 wxEditableListBoxNameStr = wx.gizmos.EditableListBoxNameStr
24 wxTreeListCtrlNameStr = wx.gizmos.TreeListCtrlNameStr
25 wxDS_MANAGE_SCROLLBARS = wx.gizmos.DS_MANAGE_SCROLLBARS
26 wxDS_DRAG_CORNER = wx.gizmos.DS_DRAG_CORNER
27 wxEVT_DYNAMIC_SASH_SPLIT = wx.gizmos.wxEVT_DYNAMIC_SASH_SPLIT
28 wxEVT_DYNAMIC_SASH_UNIFY = wx.gizmos.wxEVT_DYNAMIC_SASH_UNIFY
29 wxDynamicSashSplitEvent = wx.gizmos.DynamicSashSplitEvent
30 wxDynamicSashSplitEventPtr = wx.gizmos.DynamicSashSplitEventPtr
31 wxDynamicSashUnifyEvent = wx.gizmos.DynamicSashUnifyEvent
32 wxDynamicSashUnifyEventPtr = wx.gizmos.DynamicSashUnifyEventPtr
33 wxDynamicSashWindow = wx.gizmos.DynamicSashWindow
34 wxDynamicSashWindowPtr = wx.gizmos.DynamicSashWindowPtr
35 wxPreDynamicSashWindow = wx.gizmos.PreDynamicSashWindow
36 wxEL_ALLOW_NEW = wx.gizmos.EL_ALLOW_NEW
37 wxEL_ALLOW_EDIT = wx.gizmos.EL_ALLOW_EDIT
38 wxEL_ALLOW_DELETE = wx.gizmos.EL_ALLOW_DELETE
39 wxEditableListBox = wx.gizmos.EditableListBox
40 wxEditableListBoxPtr = wx.gizmos.EditableListBoxPtr
41 wxRemotelyScrolledTreeCtrl = wx.gizmos.RemotelyScrolledTreeCtrl
42 wxRemotelyScrolledTreeCtrlPtr = wx.gizmos.RemotelyScrolledTreeCtrlPtr
43 wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
44 wxTreeCompanionWindowPtr = wx.gizmos.TreeCompanionWindowPtr
45 wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
46 wxThinSplitterWindow = wx.gizmos.ThinSplitterWindow
47 wxThinSplitterWindowPtr = wx.gizmos.ThinSplitterWindowPtr
48 wxSplitterScrolledWindow = wx.gizmos.SplitterScrolledWindow
49 wxSplitterScrolledWindowPtr = wx.gizmos.SplitterScrolledWindowPtr
50 wxLED_ALIGN_LEFT = wx.gizmos.LED_ALIGN_LEFT
51 wxLED_ALIGN_RIGHT = wx.gizmos.LED_ALIGN_RIGHT
52 wxLED_ALIGN_CENTER = wx.gizmos.LED_ALIGN_CENTER
53 wxLED_ALIGN_MASK = wx.gizmos.LED_ALIGN_MASK
54 wxLED_DRAW_FADED = wx.gizmos.LED_DRAW_FADED
55 wxLEDNumberCtrl = wx.gizmos.LEDNumberCtrl
56 wxLEDNumberCtrlPtr = wx.gizmos.LEDNumberCtrlPtr
57 wxPreLEDNumberCtrl = wx.gizmos.PreLEDNumberCtrl
58 wxTL_ALIGN_LEFT = wx.gizmos.TL_ALIGN_LEFT
59 wxTL_ALIGN_RIGHT = wx.gizmos.TL_ALIGN_RIGHT
60 wxTL_ALIGN_CENTER = wx.gizmos.TL_ALIGN_CENTER
61 wxTREE_HITTEST_ONITEMCOLUMN = wx.gizmos.TREE_HITTEST_ONITEMCOLUMN
62 wxTL_SEARCH_VISIBLE = wx.gizmos.TL_SEARCH_VISIBLE
63 wxTL_SEARCH_LEVEL = wx.gizmos.TL_SEARCH_LEVEL
64 wxTL_SEARCH_FULL = wx.gizmos.TL_SEARCH_FULL
65 wxTL_SEARCH_PARTIAL = wx.gizmos.TL_SEARCH_PARTIAL
66 wxTL_SEARCH_NOCASE = wx.gizmos.TL_SEARCH_NOCASE
67 wxTR_DONT_ADJUST_MAC = wx.gizmos.TR_DONT_ADJUST_MAC
68 wxTreeListColumnInfo = wx.gizmos.TreeListColumnInfo
69 wxTreeListColumnInfoPtr = wx.gizmos.TreeListColumnInfoPtr
70 wxTreeListCtrl = wx.gizmos.TreeListCtrl
71 wxTreeListCtrlPtr = wx.gizmos.TreeListCtrlPtr
72 wxTreeListCtrl = wx.gizmos.TreeListCtrl
73 wxPreTreeListCtrl = wx.gizmos.PreTreeListCtrl
74
75
76 d = globals()
77 for k, v in wx.gizmos.__dict__.iteritems():
78 if k.startswith('EVT'):
79 d[k] = v
80 del d, k, v
81
82
83