projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compile fix. Seems to work too, at quick glance.
[wxWidgets.git]
/
wxPython
/
demo
/
Calendar.py
diff --git
a/wxPython/demo/Calendar.py
b/wxPython/demo/Calendar.py
index 44cfdca5b083f6371661372faff793922ad378c8..58bbda9b6b8711d3da0908aaabda915bc577590e 100644
(file)
--- a/
wxPython/demo/Calendar.py
+++ b/
wxPython/demo/Calendar.py
@@
-541,10
+541,10
@@
class SetPrintout(wx.Printout):
self.end_pg = 1
def OnBeginDocument(self, start, end):
self.end_pg = 1
def OnBeginDocument(self, start, end):
- return s
elf.base_
OnBeginDocument(start, end)
+ return s
uper(SetPrintout, self).
OnBeginDocument(start, end)
def OnEndDocument(self):
def OnEndDocument(self):
- s
elf.base_
OnEndDocument()
+ s
uper(SetPrintout, self).
OnEndDocument()
def HasPage(self, page):
if page <= self.end_pg:
def HasPage(self, page):
if page <= self.end_pg:
@@
-564,7
+564,7
@@
class SetPrintout(wx.Printout):
return (str_pg, end_pg, str_pg, end_pg)
def OnPreparePrinting(self):
return (str_pg, end_pg, str_pg, end_pg)
def OnPreparePrinting(self):
- s
elf.base_
OnPreparePrinting()
+ s
uper(SetPrintout, self).
OnPreparePrinting()
def OnBeginPrinting(self):
dc = self.GetDC()
def OnBeginPrinting(self):
dc = self.GetDC()
@@
-581,7
+581,7
@@
class SetPrintout(wx.Printout):
scaleY = float(h) / 1000
self.printUserScale = min(scaleX, scaleY)
scaleY = float(h) / 1000
self.printUserScale = min(scaleX, scaleY)
- s
elf.base_
OnBeginPrinting()
+ s
uper(SetPrintout, self).
OnBeginPrinting()
def GetSize(self):
self.psizew, self.psizeh = self.GetPPIPrinter()
def GetSize(self):
self.psizew, self.psizeh = self.GetPPIPrinter()