From 4369b00c71957b2baa06c346a71494989e5c6f19 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 3 Aug 2001 14:02:07 +0000 Subject: This "test" showed an obsolete way to get scrolled lists in dialogs. Removed. --- Mac/Lib/test/tlist_dialog.py | 4 ++-- Mac/Lib/test/tlist_dialog.rsrc | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 Mac/Lib/test/tlist_dialog.rsrc 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 -- cgit v0.12