diff options
Diffstat (limited to 'Mac/Tools/IDE/Wwindows.py')
-rw-r--r-- | Mac/Tools/IDE/Wwindows.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/Wwindows.py b/Mac/Tools/IDE/Wwindows.py index 653499b..ffab76c 100644 --- a/Mac/Tools/IDE/Wwindows.py +++ b/Mac/Tools/IDE/Wwindows.py @@ -519,7 +519,10 @@ class ModalDialog(Dialog): name = "do_%d" % partcode if name == "do_inDesk": - MacOS.HandleEvent(event) + if hasattr(MacOS, "HandleEvent"): + MacOS.HandleEvent(event) + else: + print 'Unexpected inDesk event:', event return if wid == self.wid: try: |