]> git.saurik.com Git - wxWidgets.git/commitdiff
Test wx.CommandEvent.GetClientData
authorRobin Dunn <robin@alldunn.com>
Fri, 10 Mar 2006 00:29:03 +0000 (00:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 10 Mar 2006 00:29:03 +0000 (00:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/ListBox.py

index 08819cc708da1146e50b670993a3bf283af47c53..0e1816a8aaee5c4489a7ec0ef4978446abbe762c 100644 (file)
@@ -101,8 +101,11 @@ class TestListBox(wx.Panel):
 
 
     def EvtListBox(self, event):
-        self.log.WriteText('EvtListBox: %s, %s, %s\n' %
-                           (event.GetString(), event.IsSelection(), event.GetSelection()))
+        self.log.WriteText('EvtListBox: %s, %s, %s, %s\n' %
+                           (event.GetString(),
+                            event.IsSelection(),
+                            event.GetSelection(),
+                            event.GetClientData()))
 
         lb = event.GetEventObject()
         data = lb.GetClientData(lb.GetSelection())