- self.log.WriteText("wx.Printout.OnBeginDocument\n")
- return self.base_OnBeginDocument(start, end)
+ self.log.WriteText("MyPrintout.OnBeginDocument\n")
+ return super(MyPrintout, self).OnBeginDocument(start, end)
- self.log.WriteText("wx.Printout.OnEndDocument\n")
- self.base_OnEndDocument()
+ self.log.WriteText("MyPrintout.OnEndDocument\n")
+ super(MyPrintout, self).OnEndDocument()
- self.log.WriteText("wx.Printout.OnBeginPrinting\n")
- self.base_OnBeginPrinting()
+ self.log.WriteText("MyPrintout.OnBeginPrinting\n")
+ super(MyPrintout, self).OnBeginPrinting()
- self.log.WriteText("wx.Printout.OnEndPrinting\n")
- self.base_OnEndPrinting()
+ self.log.WriteText("MyPrintout.OnEndPrinting\n")
+ super(MyPrintout, self).OnEndPrinting()
- self.log.WriteText("wx.Printout.OnPreparePrinting\n")
- self.base_OnPreparePrinting()
+ self.log.WriteText("MyPrintout.OnPreparePrinting\n")
+ super(MyPrintout, self).OnPreparePrinting()
def OnPrintSetup(self, event):
data = wx.PrintDialogData(self.printData)
printerDialog = wx.PrintDialog(self, data)
def OnPrintSetup(self, event):
data = wx.PrintDialogData(self.printData)
printerDialog = wx.PrintDialog(self, data)