git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8902
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
## Oops, there's a bug here, we'll have to do it ourself..
##return self.base_IsAcceptedKey(evt)
## Oops, there's a bug here, we'll have to do it ourself..
##return self.base_IsAcceptedKey(evt)
- return not evt.HasModifiers() and evt.GetKeyCode() != WXK_SHIFT
+ return (not (evt.ControlDown() or evt.AltDown()) and
+ evt.GetKeyCode() != WXK_SHIFT)
def StartingKey(self, evt):
def StartingKey(self, evt):