]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/TablePrint.py
HandlePrintClient shouldn't go above a top-level window
[wxWidgets.git] / wxPython / demo / TablePrint.py
index 683ba911e9b80ef71d8e503e2c539ef9a95c403f..ce40f69a51e3d37eb81c5a7a5e87187c6ff917b8 100644 (file)
@@ -76,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):
@@ -106,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()