diff options
author | Just van Rossum <just@lettererror.com> | 1999-03-03 23:15:39 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 1999-03-03 23:15:39 (GMT) |
commit | fc372aae4831246df6bd56f2627a5e4d8eafdb0b (patch) | |
tree | 04b4ee78d73326283a2bed7467f04304533082fa /Mac | |
parent | aaa0d9a3a472cf6b3c82a6267d28a29cdf687dd2 (diff) | |
download | cpython-fc372aae4831246df6bd56f2627a5e4d8eafdb0b.zip cpython-fc372aae4831246df6bd56f2627a5e4d8eafdb0b.tar.gz cpython-fc372aae4831246df6bd56f2627a5e4d8eafdb0b.tar.bz2 |
added hasclosebox attr (jstrout) -- jvr
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Tools/IDE/Wwindows.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/Wwindows.py b/Mac/Tools/IDE/Wwindows.py index 99a5fc8..8e4d665 100644 --- a/Mac/Tools/IDE/Wwindows.py +++ b/Mac/Tools/IDE/Wwindows.py @@ -33,6 +33,7 @@ class Window(FrameWork.Window, Wbase.SelectableWidget): self._drawwidgetbounds = 0 self._show = show self._lastrollover = None + self.hasclosebox = 1 # XXX the following is not really compatible with the # new (system >= 7.5) window procs. if minsize: @@ -89,7 +90,7 @@ class Window(FrameWork.Window, Wbase.SelectableWidget): def open(self): self.wid = Win.NewCWindow(self._globalbounds, self.title, self._show, - self.windowkind, -1, 1, 0) + self.windowkind, -1, self.hasclosebox, 0) self.SetPort() fnum = Fm.GetFNum("Python-Sans") if fnum == 0: |