From 5154f21923a9efe55f54563e9e9e21d6525b6ac9 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 13 Mar 2020 11:53:20 -0700 Subject: [PATCH 1/2] Update wxWidgets ref to get IsAcceptedKey and other updates --- ext/wxWidgets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/wxWidgets b/ext/wxWidgets index c42715f0c..5c039e080 160000 --- a/ext/wxWidgets +++ b/ext/wxWidgets @@ -1 +1 @@ -Subproject commit c42715f0c9defc0834e78e7d68158163845b4c81 +Subproject commit 5c039e080c2dde4fbed8fa3eadd1c556fb662999 From e41fd89a1ec3b842d79fb8622fc0a702308857fd Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 13 Mar 2020 11:53:56 -0700 Subject: [PATCH 2/2] Fix minor issue in GridCustEditor demo --- demo/GridCustEditor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/GridCustEditor.py b/demo/GridCustEditor.py index 070554c3e..c6c41b329 100644 --- a/demo/GridCustEditor.py +++ b/demo/GridCustEditor.py @@ -53,14 +53,14 @@ def Show(self, show, attr): super(MyCellEditor, self).Show(show, attr) - def PaintBackground(self, rect, attr): + def PaintBackground(self, dc, rect, attr): """ Draws the part of the cell not occupied by the edit control. The base class version just fills it with background colour from the attribute. In this class the edit control fills the whole cell so don't do anything at all in order to reduce flicker. """ - self.log.write("MyCellEditor: PaintBackground\n") + self.log.write("MyCellEditor: PaintBackground {}\n".format(rect)) def BeginEdit(self, row, col, grid):