summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/textedit
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-03 13:31:36 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-03 13:31:36 (GMT)
commitcbed91b4db6817b7bbbb12ede40bfb5d26a9bf14 (patch)
tree1995f01bd8828ae9647ad407e40dd8584ca843da /Mac/Demo/textedit
parentcb60dae6a1a7841138421866ea15870f6297cf8b (diff)
downloadcpython-cbed91b4db6817b7bbbb12ede40bfb5d26a9bf14.zip
cpython-cbed91b4db6817b7bbbb12ede40bfb5d26a9bf14.tar.gz
cpython-cbed91b4db6817b7bbbb12ede40bfb5d26a9bf14.tar.bz2
Merging appropriate 2.1.1 fixes back into the main trunk.
Diffstat (limited to 'Mac/Demo/textedit')
-rw-r--r--Mac/Demo/textedit/ped.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mac/Demo/textedit/ped.py b/Mac/Demo/textedit/ped.py
index 9b222a3..529ac12 100644
--- a/Mac/Demo/textedit/ped.py
+++ b/Mac/Demo/textedit/ped.py
@@ -19,7 +19,7 @@ class TEWindow(ScrolledWindow):
self.path = path
self.name = name
r = windowbounds(400, 400)
- w = Win.NewWindow(r, name, 1, 0, -1, 1, 0x55555555)
+ w = Win.NewWindow(r, name, 1, 0, -1, 1, 0)
self.wid = w
x0, y0, x1, y1 = self.wid.GetWindowPort().portRect
x0 = x0 + 4
@@ -338,6 +338,8 @@ class Ped(Application):
def idle(self, *args):
if self.active:
self.active.do_idle()
+ else:
+ Qd.SetCursor(Qd.qd.arrow)
def main():
App = Ped()