diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-30 23:01:28 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-30 23:01:28 (GMT) |
commit | 4e39949d8711a95a8793eadff4380c404ac5643c (patch) | |
tree | 0fc90c201207d0fd0a330b93034c65e1fccd58be /Mac/Lib | |
parent | bdbff73feb32285f223a010e7fdd1b627af686cb (diff) | |
download | cpython-4e39949d8711a95a8793eadff4380c404ac5643c.zip cpython-4e39949d8711a95a8793eadff4380c404ac5643c.tar.gz cpython-4e39949d8711a95a8793eadff4380c404ac5643c.tar.bz2 |
Initialize self._helpmenu earlier, so we can use gethelpmenu() while
building the user menus.
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/FrameWork.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py index 21a4f0e..f2f6fe2 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: |