From: Jack Jansen Date: Fri, 30 Aug 2002 23:01:28 +0000 (+0000) Subject: Initialize self._helpmenu earlier, so we can use gethelpmenu() while X-Git-Tag: v2.3c1~4250 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e39949d8711a95a8793eadff4380c404ac5643c;p=thirdparty%2FPython%2Fcpython.git Initialize self._helpmenu earlier, so we can use gethelpmenu() while building the user menus. --- diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py index 21a4f0ec7aff..f2f6fe20e1ae 100644 --- a/Mac/Lib/FrameWork.py +++ b/Mac/Lib/FrameWork.py @@ -108,11 +108,11 @@ class Application: self.quitting = 0 self.needmenubarredraw = 0 self._windows = {} + self._helpmenu = None if nomenubar: self.menubar = None else: self.makemenubar() - self._helpmenu = None def __del__(self): if self._doing_asyncevents: