1 ## This file reverse renames symbols in the wx package to give
2 ## them their wx prefix again, for backwards compatibility.
4 ## Generated by BuildRenamers in config.py
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.
11 if sys
.modules
.has_key('wxPython.wx'):
12 _wx
= sys
.modules
['wxPython.wx']
13 del sys
.modules
['wxPython.wx']
17 sys
.modules
['wxPython.wx'] = _wx
21 # Now assign all the reverse-renamed names:
22 wxGRID_VALUE_STRING
= wx
.grid
.GRID_VALUE_STRING
23 wxGRID_VALUE_BOOL
= wx
.grid
.GRID_VALUE_BOOL
24 wxGRID_VALUE_NUMBER
= wx
.grid
.GRID_VALUE_NUMBER
25 wxGRID_VALUE_FLOAT
= wx
.grid
.GRID_VALUE_FLOAT
26 wxGRID_VALUE_CHOICE
= wx
.grid
.GRID_VALUE_CHOICE
27 wxGRID_VALUE_TEXT
= wx
.grid
.GRID_VALUE_TEXT
28 wxGRID_VALUE_LONG
= wx
.grid
.GRID_VALUE_LONG
29 wxGRID_VALUE_CHOICEINT
= wx
.grid
.GRID_VALUE_CHOICEINT
30 wxGRID_VALUE_DATETIME
= wx
.grid
.GRID_VALUE_DATETIME
31 wxGridNoCellCoords
= wx
.grid
.GridNoCellCoords
32 wxGridNoCellRect
= wx
.grid
.GridNoCellRect
33 wxGRID_DEFAULT_NUMBER_ROWS
= wx
.grid
.GRID_DEFAULT_NUMBER_ROWS
34 wxGRID_DEFAULT_NUMBER_COLS
= wx
.grid
.GRID_DEFAULT_NUMBER_COLS
35 wxGRID_DEFAULT_ROW_HEIGHT
= wx
.grid
.GRID_DEFAULT_ROW_HEIGHT
36 wxGRID_DEFAULT_COL_WIDTH
= wx
.grid
.GRID_DEFAULT_COL_WIDTH
37 wxGRID_DEFAULT_COL_LABEL_HEIGHT
= wx
.grid
.GRID_DEFAULT_COL_LABEL_HEIGHT
38 wxGRID_DEFAULT_ROW_LABEL_WIDTH
= wx
.grid
.GRID_DEFAULT_ROW_LABEL_WIDTH
39 wxGRID_LABEL_EDGE_ZONE
= wx
.grid
.GRID_LABEL_EDGE_ZONE
40 wxGRID_MIN_ROW_HEIGHT
= wx
.grid
.GRID_MIN_ROW_HEIGHT
41 wxGRID_MIN_COL_WIDTH
= wx
.grid
.GRID_MIN_COL_WIDTH
42 wxGRID_DEFAULT_SCROLLBAR_WIDTH
= wx
.grid
.GRID_DEFAULT_SCROLLBAR_WIDTH
43 wxGridCellWorker
= wx
.grid
.GridCellWorker
44 wxGridCellWorkerPtr
= wx
.grid
.GridCellWorkerPtr
45 wxGridCellRenderer
= wx
.grid
.GridCellRenderer
46 wxGridCellRendererPtr
= wx
.grid
.GridCellRendererPtr
47 wxPyGridCellRenderer
= wx
.grid
.PyGridCellRenderer
48 wxPyGridCellRendererPtr
= wx
.grid
.PyGridCellRendererPtr
49 wxGridCellStringRenderer
= wx
.grid
.GridCellStringRenderer
50 wxGridCellStringRendererPtr
= wx
.grid
.GridCellStringRendererPtr
51 wxGridCellNumberRenderer
= wx
.grid
.GridCellNumberRenderer
52 wxGridCellNumberRendererPtr
= wx
.grid
.GridCellNumberRendererPtr
53 wxGridCellFloatRenderer
= wx
.grid
.GridCellFloatRenderer
54 wxGridCellFloatRendererPtr
= wx
.grid
.GridCellFloatRendererPtr
55 wxGridCellBoolRenderer
= wx
.grid
.GridCellBoolRenderer
56 wxGridCellBoolRendererPtr
= wx
.grid
.GridCellBoolRendererPtr
57 wxGridCellDateTimeRenderer
= wx
.grid
.GridCellDateTimeRenderer
58 wxGridCellDateTimeRendererPtr
= wx
.grid
.GridCellDateTimeRendererPtr
59 wxGridCellEnumRenderer
= wx
.grid
.GridCellEnumRenderer
60 wxGridCellEnumRendererPtr
= wx
.grid
.GridCellEnumRendererPtr
61 wxGridCellAutoWrapStringRenderer
= wx
.grid
.GridCellAutoWrapStringRenderer
62 wxGridCellAutoWrapStringRendererPtr
= wx
.grid
.GridCellAutoWrapStringRendererPtr
63 wxGridCellEditor
= wx
.grid
.GridCellEditor
64 wxGridCellEditorPtr
= wx
.grid
.GridCellEditorPtr
65 wxPyGridCellEditor
= wx
.grid
.PyGridCellEditor
66 wxPyGridCellEditorPtr
= wx
.grid
.PyGridCellEditorPtr
67 wxGridCellTextEditor
= wx
.grid
.GridCellTextEditor
68 wxGridCellTextEditorPtr
= wx
.grid
.GridCellTextEditorPtr
69 wxGridCellNumberEditor
= wx
.grid
.GridCellNumberEditor
70 wxGridCellNumberEditorPtr
= wx
.grid
.GridCellNumberEditorPtr
71 wxGridCellFloatEditor
= wx
.grid
.GridCellFloatEditor
72 wxGridCellFloatEditorPtr
= wx
.grid
.GridCellFloatEditorPtr
73 wxGridCellBoolEditor
= wx
.grid
.GridCellBoolEditor
74 wxGridCellBoolEditorPtr
= wx
.grid
.GridCellBoolEditorPtr
75 wxGridCellChoiceEditor
= wx
.grid
.GridCellChoiceEditor
76 wxGridCellChoiceEditorPtr
= wx
.grid
.GridCellChoiceEditorPtr
77 wxGridCellEnumEditor
= wx
.grid
.GridCellEnumEditor
78 wxGridCellEnumEditorPtr
= wx
.grid
.GridCellEnumEditorPtr
79 wxGridCellAutoWrapStringEditor
= wx
.grid
.GridCellAutoWrapStringEditor
80 wxGridCellAutoWrapStringEditorPtr
= wx
.grid
.GridCellAutoWrapStringEditorPtr
81 wxGridCellAttr
= wx
.grid
.GridCellAttr
82 wxGridCellAttrPtr
= wx
.grid
.GridCellAttrPtr
83 wxGridCellAttrProvider
= wx
.grid
.GridCellAttrProvider
84 wxGridCellAttrProviderPtr
= wx
.grid
.GridCellAttrProviderPtr
85 wxPyGridCellAttrProvider
= wx
.grid
.PyGridCellAttrProvider
86 wxPyGridCellAttrProviderPtr
= wx
.grid
.PyGridCellAttrProviderPtr
87 wxGridTableBase
= wx
.grid
.GridTableBase
88 wxGridTableBasePtr
= wx
.grid
.GridTableBasePtr
89 wxPyGridTableBase
= wx
.grid
.PyGridTableBase
90 wxPyGridTableBasePtr
= wx
.grid
.PyGridTableBasePtr
91 wxGridStringTable
= wx
.grid
.GridStringTable
92 wxGridStringTablePtr
= wx
.grid
.GridStringTablePtr
93 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
= wx
.grid
.GRIDTABLE_REQUEST_VIEW_GET_VALUES
94 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
= wx
.grid
.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
95 wxGRIDTABLE_NOTIFY_ROWS_INSERTED
= wx
.grid
.GRIDTABLE_NOTIFY_ROWS_INSERTED
96 wxGRIDTABLE_NOTIFY_ROWS_APPENDED
= wx
.grid
.GRIDTABLE_NOTIFY_ROWS_APPENDED
97 wxGRIDTABLE_NOTIFY_ROWS_DELETED
= wx
.grid
.GRIDTABLE_NOTIFY_ROWS_DELETED
98 wxGRIDTABLE_NOTIFY_COLS_INSERTED
= wx
.grid
.GRIDTABLE_NOTIFY_COLS_INSERTED
99 wxGRIDTABLE_NOTIFY_COLS_APPENDED
= wx
.grid
.GRIDTABLE_NOTIFY_COLS_APPENDED
100 wxGRIDTABLE_NOTIFY_COLS_DELETED
= wx
.grid
.GRIDTABLE_NOTIFY_COLS_DELETED
101 wxGridTableMessage
= wx
.grid
.GridTableMessage
102 wxGridTableMessagePtr
= wx
.grid
.GridTableMessagePtr
103 wxGridCellCoords
= wx
.grid
.GridCellCoords
104 wxGridCellCoordsPtr
= wx
.grid
.GridCellCoordsPtr
105 wxGrid
= wx
.grid
.Grid
106 wxGridPtr
= wx
.grid
.GridPtr
107 wxPreGrid
= wx
.grid
.PreGrid
108 wxGrid_GetClassDefaultAttributes
= wx
.grid
.Grid_GetClassDefaultAttributes
109 wxGridEvent
= wx
.grid
.GridEvent
110 wxGridEventPtr
= wx
.grid
.GridEventPtr
111 wxGridSizeEvent
= wx
.grid
.GridSizeEvent
112 wxGridSizeEventPtr
= wx
.grid
.GridSizeEventPtr
113 wxGridRangeSelectEvent
= wx
.grid
.GridRangeSelectEvent
114 wxGridRangeSelectEventPtr
= wx
.grid
.GridRangeSelectEventPtr
115 wxGridEditorCreatedEvent
= wx
.grid
.GridEditorCreatedEvent
116 wxGridEditorCreatedEventPtr
= wx
.grid
.GridEditorCreatedEventPtr
117 wxEVT_GRID_CELL_LEFT_CLICK
= wx
.grid
.wxEVT_GRID_CELL_LEFT_CLICK
118 wxEVT_GRID_CELL_RIGHT_CLICK
= wx
.grid
.wxEVT_GRID_CELL_RIGHT_CLICK
119 wxEVT_GRID_CELL_LEFT_DCLICK
= wx
.grid
.wxEVT_GRID_CELL_LEFT_DCLICK
120 wxEVT_GRID_CELL_RIGHT_DCLICK
= wx
.grid
.wxEVT_GRID_CELL_RIGHT_DCLICK
121 wxEVT_GRID_LABEL_LEFT_CLICK
= wx
.grid
.wxEVT_GRID_LABEL_LEFT_CLICK
122 wxEVT_GRID_LABEL_RIGHT_CLICK
= wx
.grid
.wxEVT_GRID_LABEL_RIGHT_CLICK
123 wxEVT_GRID_LABEL_LEFT_DCLICK
= wx
.grid
.wxEVT_GRID_LABEL_LEFT_DCLICK
124 wxEVT_GRID_LABEL_RIGHT_DCLICK
= wx
.grid
.wxEVT_GRID_LABEL_RIGHT_DCLICK
125 wxEVT_GRID_ROW_SIZE
= wx
.grid
.wxEVT_GRID_ROW_SIZE
126 wxEVT_GRID_COL_SIZE
= wx
.grid
.wxEVT_GRID_COL_SIZE
127 wxEVT_GRID_RANGE_SELECT
= wx
.grid
.wxEVT_GRID_RANGE_SELECT
128 wxEVT_GRID_CELL_CHANGE
= wx
.grid
.wxEVT_GRID_CELL_CHANGE
129 wxEVT_GRID_SELECT_CELL
= wx
.grid
.wxEVT_GRID_SELECT_CELL
130 wxEVT_GRID_EDITOR_SHOWN
= wx
.grid
.wxEVT_GRID_EDITOR_SHOWN
131 wxEVT_GRID_EDITOR_HIDDEN
= wx
.grid
.wxEVT_GRID_EDITOR_HIDDEN
132 wxEVT_GRID_EDITOR_CREATED
= wx
.grid
.wxEVT_GRID_EDITOR_CREATED
133 wxEVT_GRID_CELL_BEGIN_DRAG
= wx
.grid
.wxEVT_GRID_CELL_BEGIN_DRAG
137 for k
, v
in wx
.grid
.__dict
__.iteritems():
138 if k
.startswith('EVT'):