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