]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxPython/grid.py
Added support for current version of "emxomf".
[wxWidgets.git] / wxPython / wxPython / grid.py
CommitLineData
d14a1e28
RD
1## This file reverse renames symbols in the wx package to give
2## them their wx prefix again, for backwards compatibility.
3##
237302e7 4## Generated by BuildRenamers in config.py
d14a1e28
RD
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.
9import sys
10_wx = None
11if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15import wx.grid
16
17sys.modules['wxPython.wx'] = _wx
18del sys, _wx
19
20
21# Now assign all the reverse-renamed names:
22wxGRID_VALUE_STRING = wx.grid.GRID_VALUE_STRING
23wxGRID_VALUE_BOOL = wx.grid.GRID_VALUE_BOOL
24wxGRID_VALUE_NUMBER = wx.grid.GRID_VALUE_NUMBER
25wxGRID_VALUE_FLOAT = wx.grid.GRID_VALUE_FLOAT
26wxGRID_VALUE_CHOICE = wx.grid.GRID_VALUE_CHOICE
27wxGRID_VALUE_TEXT = wx.grid.GRID_VALUE_TEXT
28wxGRID_VALUE_LONG = wx.grid.GRID_VALUE_LONG
29wxGRID_VALUE_CHOICEINT = wx.grid.GRID_VALUE_CHOICEINT
30wxGRID_VALUE_DATETIME = wx.grid.GRID_VALUE_DATETIME
31wxGridNoCellCoords = wx.grid.GridNoCellCoords
32wxGridNoCellRect = wx.grid.GridNoCellRect
b0f7404b
RD
33wxGRID_DEFAULT_NUMBER_ROWS = wx.grid.GRID_DEFAULT_NUMBER_ROWS
34wxGRID_DEFAULT_NUMBER_COLS = wx.grid.GRID_DEFAULT_NUMBER_COLS
35wxGRID_DEFAULT_ROW_HEIGHT = wx.grid.GRID_DEFAULT_ROW_HEIGHT
36wxGRID_DEFAULT_COL_WIDTH = wx.grid.GRID_DEFAULT_COL_WIDTH
37wxGRID_DEFAULT_COL_LABEL_HEIGHT = wx.grid.GRID_DEFAULT_COL_LABEL_HEIGHT
38wxGRID_DEFAULT_ROW_LABEL_WIDTH = wx.grid.GRID_DEFAULT_ROW_LABEL_WIDTH
39wxGRID_LABEL_EDGE_ZONE = wx.grid.GRID_LABEL_EDGE_ZONE
40wxGRID_MIN_ROW_HEIGHT = wx.grid.GRID_MIN_ROW_HEIGHT
41wxGRID_MIN_COL_WIDTH = wx.grid.GRID_MIN_COL_WIDTH
42wxGRID_DEFAULT_SCROLLBAR_WIDTH = wx.grid.GRID_DEFAULT_SCROLLBAR_WIDTH
d14a1e28 43wxGridCellRenderer = wx.grid.GridCellRenderer
423af76e 44wxGridCellRendererPtr = wx.grid.GridCellRendererPtr
d14a1e28 45wxPyGridCellRenderer = wx.grid.PyGridCellRenderer
423af76e 46wxPyGridCellRendererPtr = wx.grid.PyGridCellRendererPtr
d14a1e28 47wxGridCellStringRenderer = wx.grid.GridCellStringRenderer
423af76e 48wxGridCellStringRendererPtr = wx.grid.GridCellStringRendererPtr
d14a1e28 49wxGridCellNumberRenderer = wx.grid.GridCellNumberRenderer
423af76e 50wxGridCellNumberRendererPtr = wx.grid.GridCellNumberRendererPtr
d14a1e28 51wxGridCellFloatRenderer = wx.grid.GridCellFloatRenderer
423af76e 52wxGridCellFloatRendererPtr = wx.grid.GridCellFloatRendererPtr
d14a1e28 53wxGridCellBoolRenderer = wx.grid.GridCellBoolRenderer
423af76e 54wxGridCellBoolRendererPtr = wx.grid.GridCellBoolRendererPtr
d14a1e28 55wxGridCellDateTimeRenderer = wx.grid.GridCellDateTimeRenderer
423af76e 56wxGridCellDateTimeRendererPtr = wx.grid.GridCellDateTimeRendererPtr
d14a1e28 57wxGridCellEnumRenderer = wx.grid.GridCellEnumRenderer
423af76e 58wxGridCellEnumRendererPtr = wx.grid.GridCellEnumRendererPtr
d14a1e28 59wxGridCellAutoWrapStringRenderer = wx.grid.GridCellAutoWrapStringRenderer
423af76e 60wxGridCellAutoWrapStringRendererPtr = wx.grid.GridCellAutoWrapStringRendererPtr
d14a1e28 61wxGridCellEditor = wx.grid.GridCellEditor
423af76e 62wxGridCellEditorPtr = wx.grid.GridCellEditorPtr
d14a1e28 63wxPyGridCellEditor = wx.grid.PyGridCellEditor
423af76e 64wxPyGridCellEditorPtr = wx.grid.PyGridCellEditorPtr
d14a1e28 65wxGridCellTextEditor = wx.grid.GridCellTextEditor
423af76e 66wxGridCellTextEditorPtr = wx.grid.GridCellTextEditorPtr
d14a1e28 67wxGridCellNumberEditor = wx.grid.GridCellNumberEditor
423af76e 68wxGridCellNumberEditorPtr = wx.grid.GridCellNumberEditorPtr
d14a1e28 69wxGridCellFloatEditor = wx.grid.GridCellFloatEditor
423af76e 70wxGridCellFloatEditorPtr = wx.grid.GridCellFloatEditorPtr
d14a1e28 71wxGridCellBoolEditor = wx.grid.GridCellBoolEditor
423af76e 72wxGridCellBoolEditorPtr = wx.grid.GridCellBoolEditorPtr
d14a1e28 73wxGridCellChoiceEditor = wx.grid.GridCellChoiceEditor
423af76e 74wxGridCellChoiceEditorPtr = wx.grid.GridCellChoiceEditorPtr
d14a1e28 75wxGridCellEnumEditor = wx.grid.GridCellEnumEditor
423af76e 76wxGridCellEnumEditorPtr = wx.grid.GridCellEnumEditorPtr
d14a1e28 77wxGridCellAutoWrapStringEditor = wx.grid.GridCellAutoWrapStringEditor
423af76e 78wxGridCellAutoWrapStringEditorPtr = wx.grid.GridCellAutoWrapStringEditorPtr
d14a1e28 79wxGridCellAttr = wx.grid.GridCellAttr
423af76e 80wxGridCellAttrPtr = wx.grid.GridCellAttrPtr
d14a1e28 81wxGridCellAttrProvider = wx.grid.GridCellAttrProvider
423af76e 82wxGridCellAttrProviderPtr = wx.grid.GridCellAttrProviderPtr
d14a1e28 83wxPyGridCellAttrProvider = wx.grid.PyGridCellAttrProvider
423af76e 84wxPyGridCellAttrProviderPtr = wx.grid.PyGridCellAttrProviderPtr
d14a1e28 85wxGridTableBase = wx.grid.GridTableBase
423af76e 86wxGridTableBasePtr = wx.grid.GridTableBasePtr
d14a1e28 87wxPyGridTableBase = wx.grid.PyGridTableBase
423af76e 88wxPyGridTableBasePtr = wx.grid.PyGridTableBasePtr
d14a1e28 89wxGridStringTable = wx.grid.GridStringTable
423af76e 90wxGridStringTablePtr = wx.grid.GridStringTablePtr
d14a1e28
RD
91wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = wx.grid.GRIDTABLE_REQUEST_VIEW_GET_VALUES
92wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES = wx.grid.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
93wxGRIDTABLE_NOTIFY_ROWS_INSERTED = wx.grid.GRIDTABLE_NOTIFY_ROWS_INSERTED
94wxGRIDTABLE_NOTIFY_ROWS_APPENDED = wx.grid.GRIDTABLE_NOTIFY_ROWS_APPENDED
95wxGRIDTABLE_NOTIFY_ROWS_DELETED = wx.grid.GRIDTABLE_NOTIFY_ROWS_DELETED
96wxGRIDTABLE_NOTIFY_COLS_INSERTED = wx.grid.GRIDTABLE_NOTIFY_COLS_INSERTED
97wxGRIDTABLE_NOTIFY_COLS_APPENDED = wx.grid.GRIDTABLE_NOTIFY_COLS_APPENDED
98wxGRIDTABLE_NOTIFY_COLS_DELETED = wx.grid.GRIDTABLE_NOTIFY_COLS_DELETED
99wxGridTableMessage = wx.grid.GridTableMessage
423af76e 100wxGridTableMessagePtr = wx.grid.GridTableMessagePtr
d14a1e28 101wxGridCellCoords = wx.grid.GridCellCoords
423af76e 102wxGridCellCoordsPtr = wx.grid.GridCellCoordsPtr
d14a1e28 103wxGrid = wx.grid.Grid
423af76e 104wxGridPtr = wx.grid.GridPtr
ae662096 105wxPreGrid = wx.grid.PreGrid
22bfe96c 106wxGrid_GetClassDefaultAttributes = wx.grid.Grid_GetClassDefaultAttributes
d14a1e28 107wxGridEvent = wx.grid.GridEvent
423af76e 108wxGridEventPtr = wx.grid.GridEventPtr
d14a1e28 109wxGridSizeEvent = wx.grid.GridSizeEvent
423af76e 110wxGridSizeEventPtr = wx.grid.GridSizeEventPtr
d14a1e28 111wxGridRangeSelectEvent = wx.grid.GridRangeSelectEvent
423af76e 112wxGridRangeSelectEventPtr = wx.grid.GridRangeSelectEventPtr
d14a1e28 113wxGridEditorCreatedEvent = wx.grid.GridEditorCreatedEvent
423af76e 114wxGridEditorCreatedEventPtr = wx.grid.GridEditorCreatedEventPtr
d14a1e28
RD
115wxEVT_GRID_CELL_LEFT_CLICK = wx.grid.wxEVT_GRID_CELL_LEFT_CLICK
116wxEVT_GRID_CELL_RIGHT_CLICK = wx.grid.wxEVT_GRID_CELL_RIGHT_CLICK
117wxEVT_GRID_CELL_LEFT_DCLICK = wx.grid.wxEVT_GRID_CELL_LEFT_DCLICK
118wxEVT_GRID_CELL_RIGHT_DCLICK = wx.grid.wxEVT_GRID_CELL_RIGHT_DCLICK
119wxEVT_GRID_LABEL_LEFT_CLICK = wx.grid.wxEVT_GRID_LABEL_LEFT_CLICK
120wxEVT_GRID_LABEL_RIGHT_CLICK = wx.grid.wxEVT_GRID_LABEL_RIGHT_CLICK
121wxEVT_GRID_LABEL_LEFT_DCLICK = wx.grid.wxEVT_GRID_LABEL_LEFT_DCLICK
122wxEVT_GRID_LABEL_RIGHT_DCLICK = wx.grid.wxEVT_GRID_LABEL_RIGHT_DCLICK
123wxEVT_GRID_ROW_SIZE = wx.grid.wxEVT_GRID_ROW_SIZE
124wxEVT_GRID_COL_SIZE = wx.grid.wxEVT_GRID_COL_SIZE
125wxEVT_GRID_RANGE_SELECT = wx.grid.wxEVT_GRID_RANGE_SELECT
126wxEVT_GRID_CELL_CHANGE = wx.grid.wxEVT_GRID_CELL_CHANGE
127wxEVT_GRID_SELECT_CELL = wx.grid.wxEVT_GRID_SELECT_CELL
128wxEVT_GRID_EDITOR_SHOWN = wx.grid.wxEVT_GRID_EDITOR_SHOWN
129wxEVT_GRID_EDITOR_HIDDEN = wx.grid.wxEVT_GRID_EDITOR_HIDDEN
130wxEVT_GRID_EDITOR_CREATED = wx.grid.wxEVT_GRID_EDITOR_CREATED
4cf4100f 131wxEVT_GRID_CELL_BEGIN_DRAG = wx.grid.wxEVT_GRID_CELL_BEGIN_DRAG
d14a1e28
RD
132
133
134d = globals()
135for k, v in wx.grid.__dict__.iteritems():
136 if k.startswith('EVT'):
137 d[k] = v
138del d, k, v
139
140
141