From 44d2b5d309cd9e01d26421b4c305f304bc42d059 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 27 Apr 2017 09:35:48 -0700 Subject: [PATCH] Add a missing constant and enum for wx.grid --- docs/sphinx/itemToModuleMap.json | 4 ++++ ext/wxWidgets | 2 +- unittests/test_grid.py | 11 +++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/sphinx/itemToModuleMap.json b/docs/sphinx/itemToModuleMap.json index 8dfa62e0..86557ce3 100644 --- a/docs/sphinx/itemToModuleMap.json +++ b/docs/sphinx/itemToModuleMap.json @@ -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.", diff --git a/ext/wxWidgets b/ext/wxWidgets index a34b9c1e..2a536b2b 160000 --- a/ext/wxWidgets +++ b/ext/wxWidgets @@ -1 +1 @@ -Subproject commit a34b9c1e01699c4924357ace906644c03ea9d0bf +Subproject commit 2a536b2b8acfe1dc77307068571cd5f29aea72b0 diff --git a/unittests/test_grid.py b/unittests/test_grid.py index 3a99907c..a06b86ed 100644 --- a/unittests/test_grid.py +++ b/unittests/test_grid.py @@ -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()