X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/095315e20d117d292ea01f8f964b19c032a0fd56..9f4a1fed4506d8a03c848f9c8e2e85a1dd249880:/wxPython/demo/ListBox.py diff --git a/wxPython/demo/ListBox.py b/wxPython/demo/ListBox.py index 08819cc708..0e1816a8aa 100644 --- a/wxPython/demo/ListBox.py +++ b/wxPython/demo/ListBox.py @@ -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())