summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-05-13 15:41:07 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-05-13 15:41:07 (GMT)
commit48c5527c789da0d09869a60b26320db3b4fcdd0a (patch)
tree72c1ee44ca2efff1109127585f9acbaf93d7b088 /Mac
parent79b5bb488e0d7579c5755cdb78d130a5f2b60330 (diff)
downloadcpython-48c5527c789da0d09869a60b26320db3b4fcdd0a.zip
cpython-48c5527c789da0d09869a60b26320db3b4fcdd0a.tar.gz
cpython-48c5527c789da0d09869a60b26320db3b4fcdd0a.tar.bz2
Add a few more BringToFont calls
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Lib/EasyDialogs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Lib/EasyDialogs.py b/Mac/Lib/EasyDialogs.py
index c585d91..b42674a 100644
--- a/Mac/Lib/EasyDialogs.py
+++ b/Mac/Lib/EasyDialogs.py
@@ -131,16 +131,19 @@ class ProgressBar:
self._update(0)
def __del__( self ):
+ self.d.BringToFront()
self.d.HideWindow()
del self.d
def title(self, newstr=""):
"""title(text) - Set title of progress window"""
+ self.d.BringToFront()
w = self.d.GetDialogWindow()
w.SetWTitle(newstr)
def label( self, *newstr ):
"""label(text) - Set text in progress box"""
+ self.d.BringToFront()
if newstr:
self._label = newstr[0]
tp, text_h, rect = self.d.GetDialogItem(2)