summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib')
-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