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