X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58be4fb13167350d827665ee233ba1108f2f77fc..77b7cd4fc381ada7099a0efcb3d124c2704f79fb:/wxPython/demo/TreeCtrl.py?ds=sidebyside diff --git a/wxPython/demo/TreeCtrl.py b/wxPython/demo/TreeCtrl.py index 460808c9f1..5c53d1931f 100644 --- a/wxPython/demo/TreeCtrl.py +++ b/wxPython/demo/TreeCtrl.py @@ -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: