summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/PyEdit.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-23 14:58:20 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-23 14:58:20 (GMT)
commit73023404369dca5216fc81e1fa21d19a03498a3f (patch)
tree3c80b0560c8cc0e01a049ab8515a2ed62a69ca41 /Mac/Tools/IDE/PyEdit.py
parent43bb2a4f44bb936cf4d950ee23ccd248276f4b07 (diff)
downloadcpython-73023404369dca5216fc81e1fa21d19a03498a3f.zip
cpython-73023404369dca5216fc81e1fa21d19a03498a3f.tar.gz
cpython-73023404369dca5216fc81e1fa21d19a03498a3f.tar.bz2
Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed.
Diffstat (limited to 'Mac/Tools/IDE/PyEdit.py')
-rw-r--r--Mac/Tools/IDE/PyEdit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/PyEdit.py b/Mac/Tools/IDE/PyEdit.py
index c18e31f..3f1e9c8 100644
--- a/Mac/Tools/IDE/PyEdit.py
+++ b/Mac/Tools/IDE/PyEdit.py
@@ -957,7 +957,7 @@ class SearchEngine:
editor.ted.WEUseText(Res.Resource(Text))
editor.ted.WECalText()
editor.SetPort()
- Win.InvalWindowRect(editor._bounds)
+ editor.GetWindow().InvalWindowRect(editor._bounds)
#editor.ted.WEUpdate(self.w.wid.GetWindowPort().visRgn)
EasyDialogs.Message("Replaced %d occurrences" % counter)