From 5d1bd85974482834e792d57753bb3fb0c24ef3f5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 3 Dec 1999 19:36:47 +0000 Subject: [PATCH] Testing wxListBox.Delete git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/wxPython/demo/wxListBox.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/wxPython/demo/wxListBox.py b/utils/wxPython/demo/wxListBox.py index 769e4fd2bb..3cba2b0fa2 100644 --- a/utils/wxPython/demo/wxListBox.py +++ b/utils/wxPython/demo/wxListBox.py @@ -37,6 +37,7 @@ class TestListBox(wxPanel): 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()))