]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
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 ./distrib/build_renamers.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.grid | |
16 | ||
17 | sys.modules['wxPython.wx'] = _wx | |
18 | del sys, _wx | |
19 | ||
20 | ||
21 | # Now assign all the reverse-renamed names: | |
b2dc1044 | 22 | wxDateTimeFormatStr = wx.grid.DateTimeFormatStr |
d14a1e28 RD |
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 | |
423af76e | 35 | wxGridCellRendererPtr = wx.grid.GridCellRendererPtr |
d14a1e28 | 36 | wxPyGridCellRenderer = wx.grid.PyGridCellRenderer |
423af76e | 37 | wxPyGridCellRendererPtr = wx.grid.PyGridCellRendererPtr |
d14a1e28 | 38 | wxGridCellStringRenderer = wx.grid.GridCellStringRenderer |
423af76e | 39 | wxGridCellStringRendererPtr = wx.grid.GridCellStringRendererPtr |
d14a1e28 | 40 | wxGridCellNumberRenderer = wx.grid.GridCellNumberRenderer |
423af76e | 41 | wxGridCellNumberRendererPtr = wx.grid.GridCellNumberRendererPtr |
d14a1e28 | 42 | wxGridCellFloatRenderer = wx.grid.GridCellFloatRenderer |
423af76e | 43 | wxGridCellFloatRendererPtr = wx.grid.GridCellFloatRendererPtr |
d14a1e28 | 44 | wxGridCellBoolRenderer = wx.grid.GridCellBoolRenderer |
423af76e | 45 | wxGridCellBoolRendererPtr = wx.grid.GridCellBoolRendererPtr |
d14a1e28 | 46 | wxGridCellDateTimeRenderer = wx.grid.GridCellDateTimeRenderer |
423af76e | 47 | wxGridCellDateTimeRendererPtr = wx.grid.GridCellDateTimeRendererPtr |
d14a1e28 | 48 | wxGridCellEnumRenderer = wx.grid.GridCellEnumRenderer |
423af76e | 49 | wxGridCellEnumRendererPtr = wx.grid.GridCellEnumRendererPtr |
d14a1e28 | 50 | wxGridCellAutoWrapStringRenderer = wx.grid.GridCellAutoWrapStringRenderer |
423af76e | 51 | wxGridCellAutoWrapStringRendererPtr = wx.grid.GridCellAutoWrapStringRendererPtr |
d14a1e28 | 52 | wxGridCellEditor = wx.grid.GridCellEditor |
423af76e | 53 | wxGridCellEditorPtr = wx.grid.GridCellEditorPtr |
d14a1e28 | 54 | wxPyGridCellEditor = wx.grid.PyGridCellEditor |
423af76e | 55 | wxPyGridCellEditorPtr = wx.grid.PyGridCellEditorPtr |
d14a1e28 | 56 | wxGridCellTextEditor = wx.grid.GridCellTextEditor |
423af76e | 57 | wxGridCellTextEditorPtr = wx.grid.GridCellTextEditorPtr |
d14a1e28 | 58 | wxGridCellNumberEditor = wx.grid.GridCellNumberEditor |
423af76e | 59 | wxGridCellNumberEditorPtr = wx.grid.GridCellNumberEditorPtr |
d14a1e28 | 60 | wxGridCellFloatEditor = wx.grid.GridCellFloatEditor |
423af76e | 61 | wxGridCellFloatEditorPtr = wx.grid.GridCellFloatEditorPtr |
d14a1e28 | 62 | wxGridCellBoolEditor = wx.grid.GridCellBoolEditor |
423af76e | 63 | wxGridCellBoolEditorPtr = wx.grid.GridCellBoolEditorPtr |
d14a1e28 | 64 | wxGridCellChoiceEditor = wx.grid.GridCellChoiceEditor |
423af76e | 65 | wxGridCellChoiceEditorPtr = wx.grid.GridCellChoiceEditorPtr |
d14a1e28 | 66 | wxGridCellEnumEditor = wx.grid.GridCellEnumEditor |
423af76e | 67 | wxGridCellEnumEditorPtr = wx.grid.GridCellEnumEditorPtr |
d14a1e28 | 68 | wxGridCellAutoWrapStringEditor = wx.grid.GridCellAutoWrapStringEditor |
423af76e | 69 | wxGridCellAutoWrapStringEditorPtr = wx.grid.GridCellAutoWrapStringEditorPtr |
d14a1e28 | 70 | wxGridCellAttr = wx.grid.GridCellAttr |
423af76e | 71 | wxGridCellAttrPtr = wx.grid.GridCellAttrPtr |
d14a1e28 | 72 | wxGridCellAttrProvider = wx.grid.GridCellAttrProvider |
423af76e | 73 | wxGridCellAttrProviderPtr = wx.grid.GridCellAttrProviderPtr |
d14a1e28 | 74 | wxPyGridCellAttrProvider = wx.grid.PyGridCellAttrProvider |
423af76e | 75 | wxPyGridCellAttrProviderPtr = wx.grid.PyGridCellAttrProviderPtr |
d14a1e28 | 76 | wxGridTableBase = wx.grid.GridTableBase |
423af76e | 77 | wxGridTableBasePtr = wx.grid.GridTableBasePtr |
d14a1e28 | 78 | wxPyGridTableBase = wx.grid.PyGridTableBase |
423af76e | 79 | wxPyGridTableBasePtr = wx.grid.PyGridTableBasePtr |
d14a1e28 | 80 | wxGridStringTable = wx.grid.GridStringTable |
423af76e | 81 | wxGridStringTablePtr = wx.grid.GridStringTablePtr |
d14a1e28 RD |
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 | |
423af76e | 91 | wxGridTableMessagePtr = wx.grid.GridTableMessagePtr |
d14a1e28 | 92 | wxGridCellCoords = wx.grid.GridCellCoords |
423af76e | 93 | wxGridCellCoordsPtr = wx.grid.GridCellCoordsPtr |
d14a1e28 | 94 | wxGrid = wx.grid.Grid |
423af76e | 95 | wxGridPtr = wx.grid.GridPtr |
d14a1e28 | 96 | wxGridEvent = wx.grid.GridEvent |
423af76e | 97 | wxGridEventPtr = wx.grid.GridEventPtr |
d14a1e28 | 98 | wxGridSizeEvent = wx.grid.GridSizeEvent |
423af76e | 99 | wxGridSizeEventPtr = wx.grid.GridSizeEventPtr |
d14a1e28 | 100 | wxGridRangeSelectEvent = wx.grid.GridRangeSelectEvent |
423af76e | 101 | wxGridRangeSelectEventPtr = wx.grid.GridRangeSelectEventPtr |
d14a1e28 | 102 | wxGridEditorCreatedEvent = wx.grid.GridEditorCreatedEvent |
423af76e | 103 | wxGridEditorCreatedEventPtr = wx.grid.GridEditorCreatedEventPtr |
d14a1e28 RD |
104 | wxEVT_GRID_CELL_LEFT_CLICK = wx.grid.wxEVT_GRID_CELL_LEFT_CLICK |
105 | wxEVT_GRID_CELL_RIGHT_CLICK = wx.grid.wxEVT_GRID_CELL_RIGHT_CLICK | |
106 | wxEVT_GRID_CELL_LEFT_DCLICK = wx.grid.wxEVT_GRID_CELL_LEFT_DCLICK | |
107 | wxEVT_GRID_CELL_RIGHT_DCLICK = wx.grid.wxEVT_GRID_CELL_RIGHT_DCLICK | |
108 | wxEVT_GRID_LABEL_LEFT_CLICK = wx.grid.wxEVT_GRID_LABEL_LEFT_CLICK | |
109 | wxEVT_GRID_LABEL_RIGHT_CLICK = wx.grid.wxEVT_GRID_LABEL_RIGHT_CLICK | |
110 | wxEVT_GRID_LABEL_LEFT_DCLICK = wx.grid.wxEVT_GRID_LABEL_LEFT_DCLICK | |
111 | wxEVT_GRID_LABEL_RIGHT_DCLICK = wx.grid.wxEVT_GRID_LABEL_RIGHT_DCLICK | |
112 | wxEVT_GRID_ROW_SIZE = wx.grid.wxEVT_GRID_ROW_SIZE | |
113 | wxEVT_GRID_COL_SIZE = wx.grid.wxEVT_GRID_COL_SIZE | |
114 | wxEVT_GRID_RANGE_SELECT = wx.grid.wxEVT_GRID_RANGE_SELECT | |
115 | wxEVT_GRID_CELL_CHANGE = wx.grid.wxEVT_GRID_CELL_CHANGE | |
116 | wxEVT_GRID_SELECT_CELL = wx.grid.wxEVT_GRID_SELECT_CELL | |
117 | wxEVT_GRID_EDITOR_SHOWN = wx.grid.wxEVT_GRID_EDITOR_SHOWN | |
118 | wxEVT_GRID_EDITOR_HIDDEN = wx.grid.wxEVT_GRID_EDITOR_HIDDEN | |
119 | wxEVT_GRID_EDITOR_CREATED = wx.grid.wxEVT_GRID_EDITOR_CREATED | |
120 | ||
121 | ||
122 | d = globals() | |
123 | for k, v in wx.grid.__dict__.iteritems(): | |
124 | if k.startswith('EVT'): | |
125 | d[k] = v | |
126 | del d, k, v | |
127 | ||
128 | ||
129 |