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): 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