X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b881fc787d2823bdd8a415080b82feee90804a17..6a52ea5cb81dcd07c286d34b80945534780fe05f:/wxPython/demo/TablePrint.py diff --git a/wxPython/demo/TablePrint.py b/wxPython/demo/TablePrint.py index 8d4de77e89..ce40f69a51 100644 --- a/wxPython/demo/TablePrint.py +++ b/wxPython/demo/TablePrint.py @@ -1,18 +1,3 @@ -# 11/13/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# o Color preview example generates deprecation warnings. -# -# 11/26/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Note: wx.NamedColour must remain because printout.py requiress it. -# o printout.py is generating a snootful of errors all related to the -# requirement for tuples on the base DC calls now -# -# 12/10/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Issues corrected. -# import os @@ -91,7 +76,7 @@ class TablePanel(wx.Panel): prt.SetHeader("wx.Windows Applications") prt.SetFooter() - prt.SetFooter("Date: ", type = "Date", align=wx.ALIGN_RIGHT, indent = -2, colour = wx.NamedColour('RED')) + prt.SetFooter("Date: ", type = "Date", align=wx.ALIGN_RIGHT, indent = -1, colour = wx.NamedColour('RED')) prt.Preview() def PreviewNarrow(self): @@ -121,7 +106,7 @@ class TablePanel(wx.Panel): prt.label_font_colour = wx.NamedColour('WHITE') prt.SetHeader("wxWindows Applications", colour = wx.NamedColour('RED')) - prt.SetHeader("Printed: ", type = "Date & Time", align=wx.ALIGN_RIGHT, indent = -2, colour = wx.NamedColour('BLUE')) + prt.SetHeader("Printed: ", type = "Date & Time", align=wx.ALIGN_RIGHT, indent = -1, colour = wx.NamedColour('BLUE')) prt.SetFooter("Page No", colour = wx.NamedColour('RED'), type ="Num") prt.Preview() @@ -222,5 +207,5 @@ when the framework allows for it. 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:])