mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed.
This commit is contained in:
parent
43bb2a4f44
commit
7302340436
14 changed files with 55 additions and 48 deletions
|
@ -157,7 +157,7 @@ class Window(FrameWork.Window, Wbase.SelectableWidget):
|
|||
if y == None:
|
||||
x, y = x
|
||||
self.SetPort()
|
||||
Win.InvalWindowRect(self.getgrowrect())
|
||||
self.GetWindow().InvalWindowRect(self.getgrowrect())
|
||||
self.wid.SizeWindow(x, y, 1)
|
||||
self._calcbounds()
|
||||
|
||||
|
@ -247,7 +247,7 @@ class Window(FrameWork.Window, Wbase.SelectableWidget):
|
|||
def drawwidgetbounds(self, onoff):
|
||||
self._drawwidgetbounds = onoff
|
||||
self.SetPort()
|
||||
Win.InvalWindowRect(self._bounds)
|
||||
self.GetWindow().InvalWindowRect(self._bounds)
|
||||
|
||||
def _drawbounds(self):
|
||||
pass
|
||||
|
@ -353,7 +353,7 @@ class Window(FrameWork.Window, Wbase.SelectableWidget):
|
|||
self.draw()
|
||||
|
||||
def do_postresize(self, width, height, window):
|
||||
Win.InvalWindowRect(self.getgrowrect())
|
||||
self.GetWindow().InvalWindowRect(self.getgrowrect())
|
||||
self._calcbounds()
|
||||
|
||||
def do_inGoAway(self, partcode, window, event):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue