]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ListBox.py
New style
[wxWidgets.git] / wxPython / demo / ListBox.py
index 83840b1238c3e1760c75a0b93a369e44c525ee75..8ae15a76d6e944c53ab6289903dbcab5ae40402a 100644 (file)
@@ -86,7 +86,7 @@ class TestListBox(wx.Panel):
 
 
         wx.StaticText(self, -1, "Select many:", (200, 50), (65, 18))
-        self.lb2 = wx.ListBox(self, 70, (280, 50), (80, 120), sampleList, wx.LB_EXTENDED)
+        self.lb2 = wx.ListBox(self, 70, (300, 50), (80, 120), sampleList, wx.LB_EXTENDED)
         self.Bind(wx.EVT_LISTBOX, self.EvtMultiListBox, self.lb2)
         self.lb2.Bind(wx.EVT_RIGHT_UP, self.EvtRightButton)
         self.lb2.SetSelection(0)
@@ -154,5 +154,5 @@ independently of other selections).
 if __name__ == '__main__':
     import sys,os
     import run
-    run.main(['', os.path.basename(sys.argv[0])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])