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