summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/test/tlist.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/test/tlist.py')
-rw-r--r--Mac/Lib/test/tlist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Lib/test/tlist.py b/Mac/Lib/test/tlist.py
index 48c8c22..be46c26 100644
--- a/Mac/Lib/test/tlist.py
+++ b/Mac/Lib/test/tlist.py
@@ -34,7 +34,7 @@ class ListWindow(Window):
window.EndUpdate()
def do_update(self, *args):
- self.list.LUpdate()
+ self.list.LUpdate(self.wid.GetWindowPort().visRgn)
def do_contentclick(self, local, modifiers, evt):
dclick = self.list.LClick(local, modifiers)
@@ -54,7 +54,7 @@ class ListWindow(Window):
for i in range(len(contents)):
l.LSetCell(contents[i], (0, i))
l.LSetDrawingMode(1)
- l.LUpdate()
+ l.LUpdate(self.wid.GetWindowPort().visRgn)
class TestList(Application):