summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/test/tlist_dialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/test/tlist_dialog.py')
-rw-r--r--Mac/Lib/test/tlist_dialog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Lib/test/tlist_dialog.py b/Mac/Lib/test/tlist_dialog.py
index a5b9e04..cacfd47 100644
--- a/Mac/Lib/test/tlist_dialog.py
+++ b/Mac/Lib/test/tlist_dialog.py
@@ -28,7 +28,7 @@ def dodialog(items):
# Draw it.
#
list.LSetDrawingMode(1)
- list.LUpdate()
+ list.LUpdate(self.wid.GetWindowPort().visRgn)
#
# Do the (modeless) dialog
#
@@ -41,7 +41,7 @@ def dodialog(items):
if what == updateEvt:
# XXXX We just always update our list (sigh...)
SetPort(window)
- list.LUpdate()
+ list.LUpdate(self.wid.GetWindowPort().visRgn)
if IsDialogEvent(ev):
# It is a dialog event. See if it's ours.
ok, window, item = DialogSelect(ev)