From 8494967f77ffd030eed940209f9d111c5fe2765e Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 10 Apr 1996 14:53:29 +0000 Subject: [PATCH] Added a region arg to update calls --- Mac/Demo/PICTbrowse/PICTbrowse.py | 4 ++-- Mac/Demo/PICTbrowse/PICTbrowse.rsrc.hqx | 4 ++-- Mac/Demo/PICTbrowse/PICTbrowse2.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Mac/Demo/PICTbrowse/PICTbrowse.py b/Mac/Demo/PICTbrowse/PICTbrowse.py index a84a7d5267e..4aabf67de7f 100644 --- a/Mac/Demo/PICTbrowse/PICTbrowse.py +++ b/Mac/Demo/PICTbrowse/PICTbrowse.py @@ -115,7 +115,7 @@ def setlist(self): v = v + '"' + self.contents[i][1] + '"' self.list.LSetCell(v, (0, i)) self.list.LSetDrawingMode(1) - self.list.LUpdate() + self.list.LUpdate(self.wid.GetWindowPort().visRgn) def do_listhit(self, event): (what, message, when, where, modifiers) = event @@ -148,7 +148,7 @@ def do_rawupdate(self, window, event): tp, h, rect = self.wid.GetDialogItem(MAIN_LIST) Qd.SetPort(self.wid) Qd.FrameRect(rect) - self.list.LUpdate() + self.list.LUpdate(self.wid.GetWindowPort().visRgn) def do_activate(self, activate, event): self.list.LActivate(activate) diff --git a/Mac/Demo/PICTbrowse/PICTbrowse.rsrc.hqx b/Mac/Demo/PICTbrowse/PICTbrowse.rsrc.hqx index 7f0f575990b..a33227692ff 100644 --- a/Mac/Demo/PICTbrowse/PICTbrowse.rsrc.hqx +++ b/Mac/Demo/PICTbrowse/PICTbrowse.rsrc.hqx @@ -2,9 +2,9 @@ :$e"*3e4LFQphFf8ZFR0bB`"bFh*M8P0&4!#3#!'8,V!!N!3"!!!!!6m!!!!r!!! !9G'"(r!!q[m!!2Vr!!$kf!!!qYJ!!2VB!!$kf!!!q[qJ$e"*3e4LFQphFf8ZFR0 -bB`)!!!!rN!J!N!BrN!J!N"LYFaIp!*!'!C6r!!$kr`!!qYJ!!2VB!!$kf!!!qYJ +bB`)!!!!rN!J!N!BrN!J!N"LYGH)$!*!'!C6r!!$kr`!!qYJ!!2VB!!$kf!!!qYJ !!2VrS!$krb$`!2Vr!!$kr`!!qYJ9!!$kf!!!qYJ!!"2kf!!!q[mJ#L!,)!`"S!! J"V%3&2J!q[m!!2VB!!$kf!!!qYJ!!2VB!!$kf!!!q[m!!2Vr!!$krrJ!q[m3*J! !q[r!!2Vr-2J!q[m!N!39!%!!%!%8!-8!!!%!!3#3"3)!N!8L!!%!N!8&!!S!S`# X!*!(Y!!m!-J!GJ3%8fK[G`!!!3!!!!%r!!!!2`!!!&8!m#cN%hJ!!!!F!%B!!84 --6dF!!!!54%P86!!!!"i#!*!,!J$rr`!!!"N!N!313R*[Gh0PFL"hD@jNEhHJ9`: +-6dF!!!!54%P86!!!!"i#!*!,!J$rr`!!!"N!N!313R*[Gh0PFL"hD@jNEhHh5!: diff --git a/Mac/Demo/PICTbrowse/PICTbrowse2.py b/Mac/Demo/PICTbrowse/PICTbrowse2.py index deffba693c1..588cc0bc879 100644 --- a/Mac/Demo/PICTbrowse/PICTbrowse2.py +++ b/Mac/Demo/PICTbrowse/PICTbrowse2.py @@ -137,7 +137,7 @@ def setlist(self): v = v + '"' + self.contents[i][1] + '"' self.list.LSetCell(v, (0, i)) self.list.LSetDrawingMode(1) - self.list.LUpdate() + self.list.LUpdate(self.wid.GetWindowPort().visRgn) def do_listhit(self, event): (what, message, when, where, modifiers) = event @@ -170,7 +170,7 @@ def do_rawupdate(self, window, event): tp, h, rect = self.wid.GetDialogItem(MAIN_LIST) Qd.SetPort(self.wid) Qd.FrameRect(rect) - self.list.LUpdate() + self.list.LUpdate(self.wid.GetWindowPort().visRgn) def do_activate(self, activate, event): self.list.LActivate(activate)