]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/TreeCtrl.py
Initialize m_privData before doign the assignment
[wxWidgets.git] / wxPython / demo / TreeCtrl.py
index 460808c9f16b0c164af3e94689652afaff9725dc..5c53d1931fe38bb185f4952a84b09581153f10dd 100644 (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: