summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/Wapplication.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Tools/IDE/Wapplication.py')
-rw-r--r--Mac/Tools/IDE/Wapplication.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/Wapplication.py b/Mac/Tools/IDE/Wapplication.py
index fdcd9fb..ec0071f 100644
--- a/Mac/Tools/IDE/Wapplication.py
+++ b/Mac/Tools/IDE/Wapplication.py
@@ -202,7 +202,10 @@ class Application(FrameWork.Application):
import sys
sys.stderr.write("XXX killed unknown (crashed?) Python window.\n")
else:
- MacOS.HandleEvent(event)
+ if hasattr(MacOS, 'HandleEvent'):
+ MacOS.HandleEvent(event)
+ else:
+ print 'Unexpected updateEvent:', event
def suspendresume(self, onoff):
pass