summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-30 23:01:28 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-30 23:01:28 (GMT)
commit4e39949d8711a95a8793eadff4380c404ac5643c (patch)
tree0fc90c201207d0fd0a330b93034c65e1fccd58be /Mac
parentbdbff73feb32285f223a010e7fdd1b627af686cb (diff)
downloadcpython-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')
-rw-r--r--Mac/Lib/FrameWork.py2
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: