mirror of https://github.com/python/cpython.git
added "dummy" makeopenwindowsmenu method to simplify making a standalone W app -- jvr
This commit is contained in:
parent
96b64d0675
commit
d4bdbf1097
|
@ -123,6 +123,13 @@ def removewindow(self, wid):
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue