summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/test/tlist_dialog.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-03 14:02:07 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-03 14:02:07 (GMT)
commit4369b00c71957b2baa06c346a71494989e5c6f19 (patch)
treecd0eb02c684cd49ff48b7d8d6e138a40d16636ef /Mac/Lib/test/tlist_dialog.py
parent54ad7f56a23440f7f7b10d6d561652f439197b07 (diff)
downloadcpython-4369b00c71957b2baa06c346a71494989e5c6f19.zip
cpython-4369b00c71957b2baa06c346a71494989e5c6f19.tar.gz
cpython-4369b00c71957b2baa06c346a71494989e5c6f19.tar.bz2
This "test" showed an obsolete way to get scrolled lists in dialogs. Removed.
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 d27a61c..57911bd 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(self.wid.GetWindowPort().visRgn)
+ list.LUpdate(d.GetDialogWindow().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(self.wid.GetWindowPort().visRgn)
+ list.LUpdate(d.GetDialogWindow().GetWindowPort().visRgn)
if IsDialogEvent(ev):
# It is a dialog event. See if it's ours.
ok, window, item = DialogSelect(ev)