]> granicus.if.org Git - python/commitdiff
Initialize self._helpmenu earlier, so we can use gethelpmenu() while
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 30 Aug 2002 23:01:28 +0000 (23:01 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 30 Aug 2002 23:01:28 +0000 (23:01 +0000)
building the user menus.

Mac/Lib/FrameWork.py

index 21a4f0ec7affbeda73b74b00ace2b3802105524a..f2f6fe20e1ae366b8c5161360dbe468e1c83cb41 100644 (file)
@@ -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: