X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..db4daa84f5d138d1fa045b6585832aa4eeeb4682:/wxPython/demo/Slider.py?ds=sidebyside diff --git a/wxPython/demo/Slider.py b/wxPython/demo/Slider.py index 11284aa86a..7be4bdb517 100644 --- a/wxPython/demo/Slider.py +++ b/wxPython/demo/Slider.py @@ -1,7 +1,3 @@ -# 11/21/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx @@ -13,7 +9,7 @@ class TestPanel(wx.Panel): self.log = log self.count = 0 - wx.StaticText(self, -1, "This is a wxSlider.", (45, 15)) + wx.StaticText(self, -1, "This is a wx.Slider.", (45, 15)) slider = wx.Slider( self, 100, 25, 1, 100, (30, 60), (250, -1), @@ -48,5 +44,5 @@ In Windows 95, the track bar control is used. 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:])