]> git.saurik.com Git - wxWidgets.git/commitdiff
Testing wxListBox.Delete
authorRobin Dunn <robin@alldunn.com>
Fri, 3 Dec 1999 19:36:47 +0000 (19:36 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 3 Dec 1999 19:36:47 +0000 (19:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxPython/demo/wxListBox.py

index 769e4fd2bb0845b7041d662b536c09794a4220ad..3cba2b0fa2ebc7540955403ca00bd192b6212021 100644 (file)
@@ -37,6 +37,7 @@ class TestListBox(wxPanel):
 
     def EvtListBoxDClick(self, event):
         self.log.WriteText('EvtListBoxDClick: %s\n' % self.lb1.GetSelection())
 
     def EvtListBoxDClick(self, event):
         self.log.WriteText('EvtListBoxDClick: %s\n' % self.lb1.GetSelection())
+        self.lb1.Delete(self.lb1.GetSelection())
 
     def EvtMultiListBox(self, event):
         self.log.WriteText('EvtMultiListBox: %s\n' % str(self.lb2.GetSelections()))
 
     def EvtMultiListBox(self, event):
         self.log.WriteText('EvtMultiListBox: %s\n' % str(self.lb2.GetSelections()))