X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..b70b68a9ba62320a6a667f510b316219c7029d90:/wxPython/demo/CheckListBox.py diff --git a/wxPython/demo/CheckListBox.py b/wxPython/demo/CheckListBox.py index 904ac1bb25..bfc4d40a43 100644 --- a/wxPython/demo/CheckListBox.py +++ b/wxPython/demo/CheckListBox.py @@ -14,7 +14,7 @@ class TestPanel(wx.Panel): wx.StaticText(self, -1, "This example uses the wxCheckListBox control.", (45, 15)) - lb = wx.CheckListBox(self, -1, (80, 50), (80, 120), sampleList) + lb = wx.CheckListBox(self, -1, (80, 50), wx.DefaultSize, sampleList) self.Bind(wx.EVT_LISTBOX, self.EvtListBox, lb) self.Bind(wx.EVT_LISTBOX_DCLICK, self.EvtListBoxDClick, lb) lb.SetSelection(0) @@ -83,5 +83,5 @@ labels dynamically. 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:])