X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/095315e20d117d292ea01f8f964b19c032a0fd56..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/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())