X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/317d1550404262b58c4603a8335b1f7ae77a9d4e..b5093969a22c392657a80df48d0bc1283d8a41bb:/wxPython/demo/CalendarCtrl.py diff --git a/wxPython/demo/CalendarCtrl.py b/wxPython/demo/CalendarCtrl.py index b91e8f8d3e..798b155cc1 100644 --- a/wxPython/demo/CalendarCtrl.py +++ b/wxPython/demo/CalendarCtrl.py @@ -17,7 +17,7 @@ class TestPanel(wx.Panel): self.Bind(wx.calendar.EVT_CALENDAR, self.OnCalSelected, id=cal.GetId()) - b = wx.Button(self, -1, "Destroy the Calendar", pos = (250, 50)) + b = wx.Button(self, -1, "Destroy the Calendar", pos = (275, 50)) self.Bind(wx.EVT_BUTTON, self.OnButton, id= b.GetId()) self.cal = cal @@ -64,5 +64,5 @@ so I think both will stay in wxPython. 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:])