Call evt.Skip by default

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-03-19 21:14:52 +00:00
parent ea9aa80e7c
commit 38f7d8013a

View File

@@ -122,7 +122,7 @@ class KeySink(wx.Window):
self.SetBackgroundColour(wx.BLUE)
self.haveFocus = False
self.callSkip = False
self.callSkip = True
self.logKeyDn = True
self.logKeyUp = True
self.logChar = True
@@ -315,6 +315,7 @@ class TestPanel(wx.Panel):
cb1 = wx.CheckBox(self, -1, "Call evt.Skip in Key* events")
self.Bind(wx.EVT_CHECKBOX, self.OnSkipCB, cb1)
cb1.SetValue(True)
cb2 = wx.CheckBox(self, -1, "KEY_UP")
self.Bind(wx.EVT_CHECKBOX, self.OnKeyUpCB, cb2)