]> git.saurik.com Git - wxWidgets.git/commitdiff
Printout object is now calling base class virtuals where needed...
authorRobin Dunn <robin@alldunn.com>
Thu, 24 Jun 1999 20:02:25 +0000 (20:02 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 24 Jun 1999 20:02:25 +0000 (20:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/wxPython/demo/PrintFramework.py

index e4fd6243682b932dc13835314c9e93751aaa21f2..133d6270d8dd0b931b0c76d42cb5e77e2ba8b749 100644 (file)
@@ -17,15 +17,19 @@ class MyPrintout(wxPrintout):
 
     def OnEndDocument(self):
         self.log.WriteText("wxPrintout.OnEndDocument\n")
+        self.base_OnEndDocument()
 
     def OnBeginPrinting(self):
         self.log.WriteText("wxPrintout.OnBeginPrinting\n")
+        self.base_OnBeginPrinting()
 
     def OnEndPrinting(self):
         self.log.WriteText("wxPrintout.OnEndPrinting\n")
+        self.base_OnEndPrinting()
 
     def OnPreparePrinting(self):
         self.log.WriteText("wxPrintout.OnPreparePrinting\n")
+        self.base_OnPreparePrinting()
 
     def HasPage(self, page):
         self.log.WriteText("wxPrintout.HasPage\n")