* More changes due to stricter argument passing rules

* Fixed calendar.py, mimetools.py, whrandom.py to cope with time.time()
  returning a floating point number.  (And fix old bug in calendar)
* Add recursion level to mainloop.mainloop(), to make it reentrant.
This commit is contained in:
Guido van Rossum 1993-01-04 09:16:51 +00:00
parent a2b7f40513
commit fea2af1e9b
18 changed files with 113 additions and 78 deletions

View file

@ -60,12 +60,12 @@ class TransParent(ManageOneChild):
def realize(self):
if self.child:
self.child.realize()
def draw(self, args):
def draw(self, d, area):
if self.child:
self.child.draw(args)
def altdraw(self, args):
self.child.draw(d, area)
def altdraw(self, area):
if self.child:
self.child.altdraw(args)
self.child.altdraw(area)
#
# Downcalls only made after certain upcalls
#
@ -117,7 +117,7 @@ class TransParent(ManageOneChild):
#
def change(self, area):
self.parent.change(area)
def scroll(self, args):
self.parent.scroll(args)
def scroll(self, area, vector):
self.parent.scroll(area, vector)
def settimer(self, itimer):
self.parent.settimer(itimer)