X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f12166fcf5cc85738388662ca2ce05f607e8cec6..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/demo/Listbook.py diff --git a/wxPython/demo/Listbook.py b/wxPython/demo/Listbook.py index 67e82d8f90..995c25aa12 100644 --- a/wxPython/demo/Listbook.py +++ b/wxPython/demo/Listbook.py @@ -1,6 +1,4 @@ -import sys - import wx import ColorPanel @@ -38,7 +36,7 @@ class TestLB(wx.Listbook): # make an image list using the BlomXX images il = wx.ImageList(32, 32) - for x in range(1, 15): + for x in range(1, 16): f = getattr(images, 'getBlom%02dBitmap' % x) bmp = f() il.Add(bmp) @@ -112,7 +110,7 @@ wx.ListCtrl instead of a set of tabs. 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:])