From: Jack Jansen Date: Tue, 13 May 1997 15:41:07 +0000 (+0000) Subject: Add a few more BringToFont calls X-Git-Tag: v1.5a2~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48c5527c789da0d09869a60b26320db3b4fcdd0a;p=python Add a few more BringToFont calls --- diff --git a/Mac/Lib/EasyDialogs.py b/Mac/Lib/EasyDialogs.py index c585d91a61..b42674a3fc 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)