Add a missing constant and enum for wx.grid

This commit is contained in:
Robin Dunn
2017-04-27 09:35:48 -07:00
parent 26457963c2
commit 44d2b5d309
3 changed files with 16 additions and 1 deletions

View File

@@ -1193,6 +1193,8 @@
"GRIDTABLE_NOTIFY_ROWS_INSERTED":"wx.grid.",
"GRIDTABLE_REQUEST_VIEW_GET_VALUES":"wx.grid.",
"GRIDTABLE_REQUEST_VIEW_SEND_VALUES":"wx.grid.",
"GRID_AUTOSIZE":"wx.grid.",
"GRID_COLUMN":"wx.grid.",
"GRID_DRAW_BOX_RECT":"wx.grid.",
"GRID_DRAW_CELL_LINES":"wx.grid.",
"GRID_DRAW_COLS_HEADER":"wx.grid.",
@@ -1204,6 +1206,7 @@
"GRID_FLOAT_FORMAT_FIXED":"wx.grid.",
"GRID_FLOAT_FORMAT_SCIENTIFIC":"wx.grid.",
"GRID_FLOAT_FORMAT_UPPER":"wx.grid.",
"GRID_ROW":"wx.grid.",
"GROW":"wx.",
"GUIEventLoop":"wx.",
"Gauge":"wx.",
@@ -1297,6 +1300,7 @@
"GridColumnHeaderRendererDefault":"wx.grid.",
"GridCornerHeaderRenderer":"wx.grid.",
"GridCornerHeaderRendererDefault":"wx.grid.",
"GridDirection":"wx.grid.",
"GridEditorCreatedEvent":"wx.grid.",
"GridEvent":"wx.grid.",
"GridHeaderLabelsRenderer":"wx.grid.",

View File

@@ -15,6 +15,17 @@ class grid_Tests(wtc.WidgetTestCase):
# will probably be easier to test features and interoperability between
# the classes in a non-unitest situation. See Phoenix/samples/grid
def test_grid00(self):
wx.grid.GRID_AUTOSIZE
wx.grid.GRID_COLUMN
wx.grid.GRID_ROW
wx.grid.GRID_DRAW_ROWS_HEADER
wx.grid.GRID_DRAW_COLS_HEADER
wx.grid.GRID_DRAW_CELL_LINES
wx.grid.GRID_DRAW_BOX_RECT
wx.grid.GRID_DRAW_SELECTION
wx.grid.GRID_DRAW_DEFAULT
def test_grid01(self):
c1 = wx.grid.GridCellCoords()