Commit 0c3baaf1 authored by Just van Rossum's avatar Just van Rossum

my previous patch didn't give enough events to SIOUX, this one fixes that (jvr)

parent 7ec7c8ad
...@@ -82,6 +82,7 @@ class MiniApplication: ...@@ -82,6 +82,7 @@ class MiniApplication:
raise KeyboardInterrupt, "Command-period" raise KeyboardInterrupt, "Command-period"
if c == 'q': if c == 'q':
self.quitting = 1 self.quitting = 1
return
elif what == mouseDown: elif what == mouseDown:
partcode, window = Win.FindWindow(where) partcode, window = Win.FindWindow(where)
if partcode == inMenuBar: if partcode == inMenuBar:
...@@ -97,7 +98,7 @@ class MiniApplication: ...@@ -97,7 +98,7 @@ class MiniApplication:
elif id == self.quitid and item == 1: elif id == self.quitid and item == 1:
self.quitting = 1 self.quitting = 1
Menu.HiliteMenu(0) Menu.HiliteMenu(0)
else: return
# Anything not handled is passed to Python/SIOUX # Anything not handled is passed to Python/SIOUX
MacOS.HandleEvent(event) MacOS.HandleEvent(event)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment