summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/PICTbrowse/PICTbrowse.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-04-10 14:53:29 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-04-10 14:53:29 (GMT)
commit8494967f77ffd030eed940209f9d111c5fe2765e (patch)
tree2f920d0cea135ffa537ac1a7c37979d4e149b603 /Mac/Demo/PICTbrowse/PICTbrowse.py
parent5f962c2a75a09bd9e35f32c0250abcfd8c738154 (diff)
downloadcpython-8494967f77ffd030eed940209f9d111c5fe2765e.zip
cpython-8494967f77ffd030eed940209f9d111c5fe2765e.tar.gz
cpython-8494967f77ffd030eed940209f9d111c5fe2765e.tar.bz2
Added a region arg to update calls
Diffstat (limited to 'Mac/Demo/PICTbrowse/PICTbrowse.py')
-rw-r--r--Mac/Demo/PICTbrowse/PICTbrowse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Demo/PICTbrowse/PICTbrowse.py b/Mac/Demo/PICTbrowse/PICTbrowse.py
index a84a7d5..4aabf67 100644
--- a/Mac/Demo/PICTbrowse/PICTbrowse.py
+++ b/Mac/Demo/PICTbrowse/PICTbrowse.py
@@ -115,7 +115,7 @@ class MyDialog(FrameWork.DialogWindow):
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 @@ class MyDialog(FrameWork.DialogWindow):
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)