summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--Mac/Lib/test/tlist_dialog.py4
-rw-r--r--Mac/Lib/test/tlist_dialog.rsrc1
2 files changed, 2 insertions, 3 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)
diff --git a/Mac/Lib/test/tlist_dialog.rsrc b/Mac/Lib/test/tlist_dialog.rsrc
deleted file mode 100644
index f906f6c..0000000
--- a/Mac/Lib/test/tlist_dialog.rsrc
+++ /dev/null
@@ -1 +0,0 @@
-(This file must be converted with BinHex 4.0) :!!"bFh*M8P0&4!#3#!'IKH8!N!3"!!!!!9N!!!"C!!!!4J$k+J!!qLS!!2SU!!$ k+J!!qLS!!2SUq!$k+`!!q[rj%A4XDA0dAf4TB@a[CbjbFh*M-M%Z-5iaFh4KE'a PFQ`!!(*cFQ058d9%!*!BXQ0apJ#3"J'I+J!!qLS!!2SU!!$k+J!!qLS!!2SU!!$ k+J!!qLS!!2SUq!$k+`!!q[rj!$S!!2Vr%$S!!2SV!!$kr!!!qLS!!2SU!!$k+J! !qLS!!2SU!!$k+J!!qLS!!2SU!!$k+[J!qLX!!2Vrq3!k!!$kr`!!qLX!!2Vm!!$ k+J!!qLS!!2SU!*!%2!!#!*!&UJ#J!,i!fJ3#6dX!N!8S!!S!T3$D!*!(#J!+!"` !fBJ18f9XC@0d)'%JGfpbC$S!!!!9!%B!MJ%1!Ai!!`%!!3#3"3)"!!!!!3!!!!& C!!!!@3!!!%B!b9$i%D)!!!!F!%B!!84-6dF!!!!54%P86!!!!"i#!Irr!!!!3!$ *8E`#!Irr!*!&b8rJLZ): \ No newline at end of file