"""
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)
elif key < 256 and key >= 0 and chr(key) in string.printable:
ch = chr(key)
- if not evt.ShiftDown():
- ch = ch.lower()
if ch is not None:
# For this example, replace the text. Normally we would append it.