]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/CalendarCtrl.py
Patch from Davide Salomoni that adds an optional point
[wxWidgets.git] / wxPython / demo / CalendarCtrl.py
index b91e8f8d3e3d41614b3791c0e2bfb56176a130bb..798b155cc18a9eefd2a2d790a36ba6d3884abade 100644 (file)
@@ -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:])