]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/gizmos.py
no longer need reverse renamers for the *Ptr classes
[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 wxStaticPictureNameStr = wx.gizmos.StaticPictureNameStr
26 wxDS_MANAGE_SCROLLBARS = wx.gizmos.DS_MANAGE_SCROLLBARS
27 wxDS_DRAG_CORNER = wx.gizmos.DS_DRAG_CORNER
28 wxEVT_DYNAMIC_SASH_SPLIT = wx.gizmos.wxEVT_DYNAMIC_SASH_SPLIT
29 wxEVT_DYNAMIC_SASH_UNIFY = wx.gizmos.wxEVT_DYNAMIC_SASH_UNIFY
30 wxDynamicSashSplitEvent = wx.gizmos.DynamicSashSplitEvent
31 wxDynamicSashUnifyEvent = wx.gizmos.DynamicSashUnifyEvent
32 wxDynamicSashWindow = wx.gizmos.DynamicSashWindow
33 wxPreDynamicSashWindow = wx.gizmos.PreDynamicSashWindow
34 wxEL_ALLOW_NEW = wx.gizmos.EL_ALLOW_NEW
35 wxEL_ALLOW_EDIT = wx.gizmos.EL_ALLOW_EDIT
36 wxEL_ALLOW_DELETE = wx.gizmos.EL_ALLOW_DELETE
37 wxEditableListBox = wx.gizmos.EditableListBox
38 wxRemotelyScrolledTreeCtrl = wx.gizmos.RemotelyScrolledTreeCtrl
39 wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
40 wxTreeCompanionWindow = wx.gizmos.TreeCompanionWindow
41 wxThinSplitterWindow = wx.gizmos.ThinSplitterWindow
42 wxSplitterScrolledWindow = wx.gizmos.SplitterScrolledWindow
43 wxLED_ALIGN_LEFT = wx.gizmos.LED_ALIGN_LEFT
44 wxLED_ALIGN_RIGHT = wx.gizmos.LED_ALIGN_RIGHT
45 wxLED_ALIGN_CENTER = wx.gizmos.LED_ALIGN_CENTER
46 wxLED_ALIGN_MASK = wx.gizmos.LED_ALIGN_MASK
47 wxLED_DRAW_FADED = wx.gizmos.LED_DRAW_FADED
48 wxLEDNumberCtrl = wx.gizmos.LEDNumberCtrl
49 wxPreLEDNumberCtrl = wx.gizmos.PreLEDNumberCtrl
50 wxTL_ALIGN_LEFT = wx.gizmos.TL_ALIGN_LEFT
51 wxTL_ALIGN_RIGHT = wx.gizmos.TL_ALIGN_RIGHT
52 wxTL_ALIGN_CENTER = wx.gizmos.TL_ALIGN_CENTER
53 wxTREE_HITTEST_ONITEMCOLUMN = wx.gizmos.TREE_HITTEST_ONITEMCOLUMN
54 wxTL_SEARCH_VISIBLE = wx.gizmos.TL_SEARCH_VISIBLE
55 wxTL_SEARCH_LEVEL = wx.gizmos.TL_SEARCH_LEVEL
56 wxTL_SEARCH_FULL = wx.gizmos.TL_SEARCH_FULL
57 wxTL_SEARCH_PARTIAL = wx.gizmos.TL_SEARCH_PARTIAL
58 wxTL_SEARCH_NOCASE = wx.gizmos.TL_SEARCH_NOCASE
59 wxTR_DONT_ADJUST_MAC = wx.gizmos.TR_DONT_ADJUST_MAC
60 wxTreeListColumnInfo = wx.gizmos.TreeListColumnInfo
61 wxTreeListCtrl = wx.gizmos.TreeListCtrl
62 wxTreeListCtrl = wx.gizmos.TreeListCtrl
63 wxPreTreeListCtrl = wx.gizmos.PreTreeListCtrl
64 wxSCALE_HORIZONTAL = wx.gizmos.SCALE_HORIZONTAL
65 wxSCALE_VERTICAL = wx.gizmos.SCALE_VERTICAL
66 wxSCALE_UNIFORM = wx.gizmos.SCALE_UNIFORM
67 wxSCALE_CUSTOM = wx.gizmos.SCALE_CUSTOM
68 wxStaticPicture = wx.gizmos.StaticPicture
69 wxPreStaticPicture = wx.gizmos.PreStaticPicture
70
71
72 d = globals()
73 for k, v in wx.gizmos.__dict__.iteritems():
74 if k.startswith('EVT'):
75 d[k] = v
76 del d, k, v
77
78
79