X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b7ac0ab51dd4571b752d14c7af2443839ff85bb..71aba8333cc915afff9e740c944f7fa7247abacb:/wxPython/demo/wxEditableListBox.py diff --git a/wxPython/demo/wxEditableListBox.py b/wxPython/demo/wxEditableListBox.py index 6dab278ed6..97b951a6e0 100644 --- a/wxPython/demo/wxEditableListBox.py +++ b/wxPython/demo/wxEditableListBox.py @@ -9,7 +9,9 @@ class TestPanel(wxPanel): self.log = log self.elb = wxEditableListBox(self, -1, "List of Stuff", - (50,50), (250, 250)) + (50,50), (250, 250), + ) + #style=wxEL_ALLOW_NEW | wxEL_ALLOW_EDIT | wxEL_ALLOW_DELETE) self.elb.SetStrings(["This is a nifty ListBox widget", "that is editable by the user.", @@ -36,5 +38,14 @@ def runTest(frame, nb, log): overview = """\ This class provides a composite control that lets the -user easily enter list of strings. +user easily enter and edit a list of strings. """ + + + + +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) +