diff options
author | Just van Rossum <just@lettererror.com> | 1999-02-26 21:30:19 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 1999-02-26 21:30:19 (GMT) |
commit | d4bdbf1097070f167c1393ab0d6faab1e6f6f164 (patch) | |
tree | 4a411b01722c5521c6318fb93aba210abec0dd64 /Mac/Tools | |
parent | 96b64d0675c3d54d510f45de652328afeb4ee6a3 (diff) | |
download | cpython-d4bdbf1097070f167c1393ab0d6faab1e6f6f164.zip cpython-d4bdbf1097070f167c1393ab0d6faab1e6f6f164.tar.gz cpython-d4bdbf1097070f167c1393ab0d6faab1e6f6f164.tar.bz2 |
added "dummy" makeopenwindowsmenu method to simplify making a standalone W app -- jvr
Diffstat (limited to 'Mac/Tools')
-rw-r--r-- | Mac/Tools/IDE/Wapplication.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/Wapplication.py b/Mac/Tools/IDE/Wapplication.py index 10ac3f1..554a265 100644 --- a/Mac/Tools/IDE/Wapplication.py +++ b/Mac/Tools/IDE/Wapplication.py @@ -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) |