diff --git a/Mac/Tools/IDE/Wapplication.py b/Mac/Tools/IDE/Wapplication.py index 27613f2cb42..f78ef5e0a6c 100644 --- a/Mac/Tools/IDE/Wapplication.py +++ b/Mac/Tools/IDE/Wapplication.py @@ -190,6 +190,8 @@ def do_inMenuBar(self, partcode, window, event): self.checkmenus(None) result = MenuToolbox.MenuSelect(where) id = (result>>16) & 0xffff # Hi word + if id >= 0x8000: + id = -0x10000 + id item = result & 0xffff # Lo word self.do_rawmenu(id, item, window, event)