log IsEditCancelled too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-01-29 01:15:43 +00:00
parent 7f873aa41d
commit ce6780cfe3

View File

@@ -128,7 +128,8 @@ class TestTreeCtrlPanel(wx.Panel):
def OnEndEdit(self, event):
self.log.WriteText("OnEndEdit\n")
self.log.WriteText("OnEndEdit: %s %s\n" %
(event.IsEditCancelled(), event.GetLabel()) )
# show how to reject edit, we'll not allow any digits
for x in event.GetLabel():
if x in string.digits: