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 wxGridCellRenderer
= wx
.grid
.GridCellRenderer
45 wxPyGridCellRenderer
= wx
.grid
.PyGridCellRenderer
46 wxGridCellStringRenderer
= wx
.grid
.GridCellStringRenderer
47 wxGridCellNumberRenderer
= wx
.grid
.GridCellNumberRenderer
48 wxGridCellFloatRenderer
= wx
.grid
.GridCellFloatRenderer
49 wxGridCellBoolRenderer
= wx
.grid
.GridCellBoolRenderer
50 wxGridCellDateTimeRenderer
= wx
.grid
.GridCellDateTimeRenderer
51 wxGridCellEnumRenderer
= wx
.grid
.GridCellEnumRenderer
52 wxGridCellAutoWrapStringRenderer
= wx
.grid
.GridCellAutoWrapStringRenderer
53 wxGridCellEditor
= wx
.grid
.GridCellEditor
54 wxPyGridCellEditor
= wx
.grid
.PyGridCellEditor
55 wxGridCellTextEditor
= wx
.grid
.GridCellTextEditor
56 wxGridCellNumberEditor
= wx
.grid
.GridCellNumberEditor
57 wxGridCellFloatEditor
= wx
.grid
.GridCellFloatEditor
58 wxGridCellBoolEditor
= wx
.grid
.GridCellBoolEditor
59 wxGridCellChoiceEditor
= wx
.grid
.GridCellChoiceEditor
60 wxGridCellEnumEditor
= wx
.grid
.GridCellEnumEditor
61 wxGridCellAutoWrapStringEditor
= wx
.grid
.GridCellAutoWrapStringEditor
62 wxGridCellAttr
= wx
.grid
.GridCellAttr
63 wxGridCellAttrProvider
= wx
.grid
.GridCellAttrProvider
64 wxPyGridCellAttrProvider
= wx
.grid
.PyGridCellAttrProvider
65 wxGridTableBase
= wx
.grid
.GridTableBase
66 wxPyGridTableBase
= wx
.grid
.PyGridTableBase
67 wxGridStringTable
= wx
.grid
.GridStringTable
68 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
= wx
.grid
.GRIDTABLE_REQUEST_VIEW_GET_VALUES
69 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
= wx
.grid
.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
70 wxGRIDTABLE_NOTIFY_ROWS_INSERTED
= wx
.grid
.GRIDTABLE_NOTIFY_ROWS_INSERTED
71 wxGRIDTABLE_NOTIFY_ROWS_APPENDED
= wx
.grid
.GRIDTABLE_NOTIFY_ROWS_APPENDED
72 wxGRIDTABLE_NOTIFY_ROWS_DELETED
= wx
.grid
.GRIDTABLE_NOTIFY_ROWS_DELETED
73 wxGRIDTABLE_NOTIFY_COLS_INSERTED
= wx
.grid
.GRIDTABLE_NOTIFY_COLS_INSERTED
74 wxGRIDTABLE_NOTIFY_COLS_APPENDED
= wx
.grid
.GRIDTABLE_NOTIFY_COLS_APPENDED
75 wxGRIDTABLE_NOTIFY_COLS_DELETED
= wx
.grid
.GRIDTABLE_NOTIFY_COLS_DELETED
76 wxGridTableMessage
= wx
.grid
.GridTableMessage
77 wxGridCellCoords
= wx
.grid
.GridCellCoords
79 wxPreGrid
= wx
.grid
.PreGrid
80 wxGrid_GetClassDefaultAttributes
= wx
.grid
.Grid_GetClassDefaultAttributes
81 wxGridEvent
= wx
.grid
.GridEvent
82 wxGridSizeEvent
= wx
.grid
.GridSizeEvent
83 wxGridRangeSelectEvent
= wx
.grid
.GridRangeSelectEvent
84 wxGridEditorCreatedEvent
= wx
.grid
.GridEditorCreatedEvent
85 wxEVT_GRID_CELL_LEFT_CLICK
= wx
.grid
.wxEVT_GRID_CELL_LEFT_CLICK
86 wxEVT_GRID_CELL_RIGHT_CLICK
= wx
.grid
.wxEVT_GRID_CELL_RIGHT_CLICK
87 wxEVT_GRID_CELL_LEFT_DCLICK
= wx
.grid
.wxEVT_GRID_CELL_LEFT_DCLICK
88 wxEVT_GRID_CELL_RIGHT_DCLICK
= wx
.grid
.wxEVT_GRID_CELL_RIGHT_DCLICK
89 wxEVT_GRID_LABEL_LEFT_CLICK
= wx
.grid
.wxEVT_GRID_LABEL_LEFT_CLICK
90 wxEVT_GRID_LABEL_RIGHT_CLICK
= wx
.grid
.wxEVT_GRID_LABEL_RIGHT_CLICK
91 wxEVT_GRID_LABEL_LEFT_DCLICK
= wx
.grid
.wxEVT_GRID_LABEL_LEFT_DCLICK
92 wxEVT_GRID_LABEL_RIGHT_DCLICK
= wx
.grid
.wxEVT_GRID_LABEL_RIGHT_DCLICK
93 wxEVT_GRID_ROW_SIZE
= wx
.grid
.wxEVT_GRID_ROW_SIZE
94 wxEVT_GRID_COL_SIZE
= wx
.grid
.wxEVT_GRID_COL_SIZE
95 wxEVT_GRID_RANGE_SELECT
= wx
.grid
.wxEVT_GRID_RANGE_SELECT
96 wxEVT_GRID_CELL_CHANGE
= wx
.grid
.wxEVT_GRID_CELL_CHANGE
97 wxEVT_GRID_SELECT_CELL
= wx
.grid
.wxEVT_GRID_SELECT_CELL
98 wxEVT_GRID_EDITOR_SHOWN
= wx
.grid
.wxEVT_GRID_EDITOR_SHOWN
99 wxEVT_GRID_EDITOR_HIDDEN
= wx
.grid
.wxEVT_GRID_EDITOR_HIDDEN
100 wxEVT_GRID_EDITOR_CREATED
= wx
.grid
.wxEVT_GRID_EDITOR_CREATED
101 wxEVT_GRID_CELL_BEGIN_DRAG
= wx
.grid
.wxEVT_GRID_CELL_BEGIN_DRAG
105 for k
, v
in wx
.grid
.__dict
__.iteritems():
106 if k
.startswith('EVT'):