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