From 80445715595742d9dac76cabe11b4cd596beba9a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 20 May 2005 23:13:46 +0000 Subject: [PATCH] The bug is no longer there, but leave the workaround in place for educational purposes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/GridCustEditor.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wxPython/demo/GridCustEditor.py b/wxPython/demo/GridCustEditor.py index 55a8f9a410..639b3fffeb 100644 --- a/wxPython/demo/GridCustEditor.py +++ b/wxPython/demo/GridCustEditor.py @@ -125,9 +125,10 @@ class MyCellEditor(gridlib.PyGridCellEditor): """ self.log.write("MyCellEditor: IsAcceptedKey: %d\n" % (evt.GetKeyCode())) - ## Oops, there's a bug here, we'll have to do it ourself.. - ##return self.base_IsAcceptedKey(evt) + ## We can ask the base class to do it + #return self.base_IsAcceptedKey(evt) + # or do it ourselves return (not (evt.ControlDown() or evt.AltDown()) and evt.GetKeyCode() != wx.WXK_SHIFT) -- 2.45.2