summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJust van Rossum <just@lettererror.com>2000-03-27 17:13:32 (GMT)
committerJust van Rossum <just@lettererror.com>2000-03-27 17:13:32 (GMT)
commit0c3baaf19c7d6a112a00ad36e31fe7a142b91542 (patch)
treef856a2097a3f457d40646ba6ebe6f30615724d19 /Mac
parent7ec7c8ad66986c1daabaf0d4636bce55d3c78ce8 (diff)
downloadcpython-0c3baaf19c7d6a112a00ad36e31fe7a142b91542.zip
cpython-0c3baaf19c7d6a112a00ad36e31fe7a142b91542.tar.gz
cpython-0c3baaf19c7d6a112a00ad36e31fe7a142b91542.tar.bz2
my previous patch didn't give enough events to SIOUX, this one fixes that (jvr)
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Lib/lib-toolbox/MiniAEFrame.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mac/Lib/lib-toolbox/MiniAEFrame.py b/Mac/Lib/lib-toolbox/MiniAEFrame.py
index 6c2d5e8..e57d78e 100644
--- a/Mac/Lib/lib-toolbox/MiniAEFrame.py
+++ b/Mac/Lib/lib-toolbox/MiniAEFrame.py
@@ -82,6 +82,7 @@ class MiniApplication:
raise KeyboardInterrupt, "Command-period"
if c == 'q':
self.quitting = 1
+ return
elif what == mouseDown:
partcode, window = Win.FindWindow(where)
if partcode == inMenuBar:
@@ -97,9 +98,9 @@ class MiniApplication:
elif id == self.quitid and item == 1:
self.quitting = 1
Menu.HiliteMenu(0)
- else:
- # Anything not handled is passed to Python/SIOUX
- MacOS.HandleEvent(event)
+ return
+ # Anything not handled is passed to Python/SIOUX
+ MacOS.HandleEvent(event)
def getabouttext(self):
return self.__class__.__name__