]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxEditableListBox.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / demo / wxEditableListBox.py
index 6dab278ed65e421cd0f266df173cb3c760875fca..97b951a6e03b1bd3cf26f453c8d5738e4094d508 100644 (file)
@@ -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])])
+