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 wxGridCellRenderer
= wx
.grid
.GridCellRenderer
44 wxGridCellRendererPtr
= wx
.grid
.GridCellRendererPtr
45 wxPyGridCellRenderer
= wx
.grid
.PyGridCellRenderer
46 wxPyGridCellRendererPtr
= wx
.grid
.PyGridCellRendererPtr
47 wxGridCellStringRenderer
= wx
.grid
.GridCellStringRenderer
48 wxGridCellStringRendererPtr
= wx
.grid
.GridCellStringRendererPtr
49 wxGridCellNumberRenderer
= wx
.grid
.GridCellNumberRenderer
50 wxGridCellNumberRendererPtr
= wx
.grid
.GridCellNumberRendererPtr
51 wxGridCellFloatRenderer
= wx
.grid
.GridCellFloatRenderer
52 wxGridCellFloatRendererPtr
= wx
.grid
.GridCellFloatRendererPtr
53 wxGridCellBoolRenderer
= wx
.grid
.GridCellBoolRenderer
54 wxGridCellBoolRendererPtr
= wx
.grid
.GridCellBoolRendererPtr
55 wxGridCellDateTimeRenderer
= wx
.grid
.GridCellDateTimeRenderer
56 wxGridCellDateTimeRendererPtr
= wx
.grid
.GridCellDateTimeRendererPtr
57 wxGridCellEnumRenderer
= wx
.grid
.GridCellEnumRenderer
58 wxGridCellEnumRendererPtr
= wx
.grid
.GridCellEnumRendererPtr
59 wxGridCellAutoWrapStringRenderer
= wx
.grid
.GridCellAutoWrapStringRenderer
60 wxGridCellAutoWrapStringRendererPtr
= wx
.grid
.GridCellAutoWrapStringRendererPtr
61 wxGridCellEditor
= wx
.grid
.GridCellEditor
62 wxGridCellEditorPtr
= wx
.grid
.GridCellEditorPtr
63 wxPyGridCellEditor
= wx
.grid
.PyGridCellEditor
64 wxPyGridCellEditorPtr
= wx
.grid
.PyGridCellEditorPtr
65 wxGridCellTextEditor
= wx
.grid
.GridCellTextEditor
66 wxGridCellTextEditorPtr
= wx
.grid
.GridCellTextEditorPtr
67 wxGridCellNumberEditor
= wx
.grid
.GridCellNumberEditor
68 wxGridCellNumberEditorPtr
= wx
.grid
.GridCellNumberEditorPtr
69 wxGridCellFloatEditor
= wx
.grid
.GridCellFloatEditor
70 wxGridCellFloatEditorPtr
= wx
.grid
.GridCellFloatEditorPtr
71 wxGridCellBoolEditor
= wx
.grid
.GridCellBoolEditor
72 wxGridCellBoolEditorPtr
= wx
.grid
.GridCellBoolEditorPtr
73 wxGridCellChoiceEditor
= wx
.grid
.GridCellChoiceEditor
74 wxGridCellChoiceEditorPtr
= wx
.grid
.GridCellChoiceEditorPtr
75 wxGridCellEnumEditor
= wx
.grid
.GridCellEnumEditor
76 wxGridCellEnumEditorPtr
= wx
.grid
.GridCellEnumEditorPtr
77 wxGridCellAutoWrapStringEditor
= wx
.grid
.GridCellAutoWrapStringEditor
78 wxGridCellAutoWrapStringEditorPtr
= wx
.grid
.GridCellAutoWrapStringEditorPtr
79 wxGridCellAttr
= wx
.grid
.GridCellAttr
80 wxGridCellAttrPtr
= wx
.grid
.GridCellAttrPtr
81 wxGridCellAttrProvider
= wx
.grid
.GridCellAttrProvider
82 wxGridCellAttrProviderPtr
= wx
.grid
.GridCellAttrProviderPtr
83 wxPyGridCellAttrProvider
= wx
.grid
.PyGridCellAttrProvider
84 wxPyGridCellAttrProviderPtr
= wx
.grid
.PyGridCellAttrProviderPtr
85 wxGridTableBase
= wx
.grid
.GridTableBase
86 wxGridTableBasePtr
= wx
.grid
.GridTableBasePtr
87 wxPyGridTableBase
= wx
.grid
.PyGridTableBase
88 wxPyGridTableBasePtr
= wx
.grid
.PyGridTableBasePtr
89 wxGridStringTable
= wx
.grid
.GridStringTable
90 wxGridStringTablePtr
= wx
.grid
.GridStringTablePtr
91 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
= wx
.grid
.GRIDTABLE_REQUEST_VIEW_GET_VALUES
92 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
= wx
.grid
.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
93 wxGRIDTABLE_NOTIFY_ROWS_INSERTED
= wx
.grid
.GRIDTABLE_NOTIFY_ROWS_INSERTED
94 wxGRIDTABLE_NOTIFY_ROWS_APPENDED
= wx
.grid
.GRIDTABLE_NOTIFY_ROWS_APPENDED
95 wxGRIDTABLE_NOTIFY_ROWS_DELETED
= wx
.grid
.GRIDTABLE_NOTIFY_ROWS_DELETED
96 wxGRIDTABLE_NOTIFY_COLS_INSERTED
= wx
.grid
.GRIDTABLE_NOTIFY_COLS_INSERTED
97 wxGRIDTABLE_NOTIFY_COLS_APPENDED
= wx
.grid
.GRIDTABLE_NOTIFY_COLS_APPENDED
98 wxGRIDTABLE_NOTIFY_COLS_DELETED
= wx
.grid
.GRIDTABLE_NOTIFY_COLS_DELETED
99 wxGridTableMessage
= wx
.grid
.GridTableMessage
100 wxGridTableMessagePtr
= wx
.grid
.GridTableMessagePtr
101 wxGridCellCoords
= wx
.grid
.GridCellCoords
102 wxGridCellCoordsPtr
= wx
.grid
.GridCellCoordsPtr
103 wxGrid
= wx
.grid
.Grid
104 wxGridPtr
= wx
.grid
.GridPtr
105 wxPreGrid
= wx
.grid
.PreGrid
106 wxGrid_GetClassDefaultAttributes
= wx
.grid
.Grid_GetClassDefaultAttributes
107 wxGridEvent
= wx
.grid
.GridEvent
108 wxGridEventPtr
= wx
.grid
.GridEventPtr
109 wxGridSizeEvent
= wx
.grid
.GridSizeEvent
110 wxGridSizeEventPtr
= wx
.grid
.GridSizeEventPtr
111 wxGridRangeSelectEvent
= wx
.grid
.GridRangeSelectEvent
112 wxGridRangeSelectEventPtr
= wx
.grid
.GridRangeSelectEventPtr
113 wxGridEditorCreatedEvent
= wx
.grid
.GridEditorCreatedEvent
114 wxGridEditorCreatedEventPtr
= wx
.grid
.GridEditorCreatedEventPtr
115 wxEVT_GRID_CELL_LEFT_CLICK
= wx
.grid
.wxEVT_GRID_CELL_LEFT_CLICK
116 wxEVT_GRID_CELL_RIGHT_CLICK
= wx
.grid
.wxEVT_GRID_CELL_RIGHT_CLICK
117 wxEVT_GRID_CELL_LEFT_DCLICK
= wx
.grid
.wxEVT_GRID_CELL_LEFT_DCLICK
118 wxEVT_GRID_CELL_RIGHT_DCLICK
= wx
.grid
.wxEVT_GRID_CELL_RIGHT_DCLICK
119 wxEVT_GRID_LABEL_LEFT_CLICK
= wx
.grid
.wxEVT_GRID_LABEL_LEFT_CLICK
120 wxEVT_GRID_LABEL_RIGHT_CLICK
= wx
.grid
.wxEVT_GRID_LABEL_RIGHT_CLICK
121 wxEVT_GRID_LABEL_LEFT_DCLICK
= wx
.grid
.wxEVT_GRID_LABEL_LEFT_DCLICK
122 wxEVT_GRID_LABEL_RIGHT_DCLICK
= wx
.grid
.wxEVT_GRID_LABEL_RIGHT_DCLICK
123 wxEVT_GRID_ROW_SIZE
= wx
.grid
.wxEVT_GRID_ROW_SIZE
124 wxEVT_GRID_COL_SIZE
= wx
.grid
.wxEVT_GRID_COL_SIZE
125 wxEVT_GRID_RANGE_SELECT
= wx
.grid
.wxEVT_GRID_RANGE_SELECT
126 wxEVT_GRID_CELL_CHANGE
= wx
.grid
.wxEVT_GRID_CELL_CHANGE
127 wxEVT_GRID_SELECT_CELL
= wx
.grid
.wxEVT_GRID_SELECT_CELL
128 wxEVT_GRID_EDITOR_SHOWN
= wx
.grid
.wxEVT_GRID_EDITOR_SHOWN
129 wxEVT_GRID_EDITOR_HIDDEN
= wx
.grid
.wxEVT_GRID_EDITOR_HIDDEN
130 wxEVT_GRID_EDITOR_CREATED
= wx
.grid
.wxEVT_GRID_EDITOR_CREATED
131 wxEVT_GRID_CELL_BEGIN_DRAG
= wx
.grid
.wxEVT_GRID_CELL_BEGIN_DRAG
135 for k
, v
in wx
.grid
.__dict
__.iteritems():
136 if k
.startswith('EVT'):