Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d4bdbf1

Browse files
author
Just van Rossum
committed
added "dummy" makeopenwindowsmenu method to simplify making a standalone W app -- jvr
1 parent 96b64d0 commit d4bdbf1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Mac/Tools/IDE/Wapplication.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ def removewindow(self, wid):
123123
del self._windows[wid]
124124
self.makeopenwindowsmenu()
125125

126+
def makeopenwindowsmenu(self):
127+
# dummy; could be the full version from PythonIDEMain.py
128+
self._openwindows = {}
129+
self._openwindowscheckmark = 0
130+
if not hasattr(self, "_menustocheck"):
131+
self._menustocheck = []
132+
126133
def do_key(self, event):
127134
(what, message, when, where, modifiers) = event
128135
ch = chr(message & FrameWork.charCodeMask)

0 commit comments

Comments
 (0)