X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/611dc22ceee63fcfd8b6af38f7f74ba9f3c5a268..71aba8333cc915afff9e740c944f7fa7247abacb:/wxPython/demo/wxEditableListBox.py diff --git a/wxPython/demo/wxEditableListBox.py b/wxPython/demo/wxEditableListBox.py index 27ebfe4e85..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.", @@ -38,3 +40,12 @@ overview = """\ This class provides a composite control that lets the 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])]) +