mirror of
https://github.com/python/cpython.git
synced 2025-09-10 02:36:56 +00:00
Added region arg to update calls. And binhex files rebinhexed.
This commit is contained in:
parent
270f411f17
commit
822a30b0ee
9 changed files with 357 additions and 281 deletions
|
@ -127,7 +127,7 @@ class ListWindow(DialogWindow):
|
|||
for i in range(len(contents)):
|
||||
self.list.LSetCell(contents[i], (0, i))
|
||||
self.list.LSetDrawingMode(1)
|
||||
self.list.LUpdate()
|
||||
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
|
||||
|
||||
def additem(self, item):
|
||||
where = self.list.LAddRow(1, 0)
|
||||
|
@ -161,7 +161,7 @@ class ListWindow(DialogWindow):
|
|||
return values
|
||||
|
||||
def do_rawupdate(self, window, event):
|
||||
self.list.LUpdate()
|
||||
self.list.LUpdate(self.wid.GetWindowPort().visRgn)
|
||||
|
||||
def do_close(self):
|
||||
self.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue