Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing IsAcceptedKey #1548

Merged
merged 2 commits into from Mar 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions demo/GridCustEditor.py
Expand Up @@ -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):
Expand Down