]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
added "dummy" makeopenwindowsmenu method to simplify making a standalone W app -...
authorJust van Rossum <just@lettererror.com>
Fri, 26 Feb 1999 21:30:19 +0000 (21:30 +0000)
committerJust van Rossum <just@lettererror.com>
Fri, 26 Feb 1999 21:30:19 +0000 (21:30 +0000)
Mac/Tools/IDE/Wapplication.py

index 10ac3f102dead8f498b777385f9c19463ab3db83..554a26533dd365cc9c339bfada0aa60eb71624d8 100644 (file)
@@ -123,6 +123,13 @@ class Application(FrameWork.Application):
                del self._windows[wid]
                self.makeopenwindowsmenu()
        
+       def makeopenwindowsmenu(self):
+               # dummy; could be the full version from PythonIDEMain.py
+               self._openwindows = {}
+               self._openwindowscheckmark = 0
+               if not hasattr(self, "_menustocheck"):
+                       self._menustocheck = []
+       
        def do_key(self, event):
                (what, message, when, where, modifiers) = event
                ch = chr(message & FrameWork.charCodeMask)