From d4bdbf1097070f167c1393ab0d6faab1e6f6f164 Mon Sep 17 00:00:00 2001
From: Just van Rossum <just@lettererror.com>
Date: Fri, 26 Feb 1999 21:30:19 +0000
Subject: added "dummy" makeopenwindowsmenu method to simplify making a
 standalone W app -- jvr

---
 Mac/Tools/IDE/Wapplication.py | 7 +++++++
 1 file changed, 7 insertions(+)

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)
-- 
cgit v0.12

