From: Jack Jansen Date: Thu, 15 Mar 2001 14:35:33 +0000 (+0000) Subject: Added QDFlushPortBuffer calls. X-Git-Tag: v2.1b2~166 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06646a1be0afada3c50337441f10ec78080d584d;p=thirdparty%2FPython%2Fcpython.git Added QDFlushPortBuffer calls. --- diff --git a/Mac/Tools/IDE/Splash.py b/Mac/Tools/IDE/Splash.py index 0ce879af930c..862d82efa0bb 100644 --- a/Mac/Tools/IDE/Splash.py +++ b/Mac/Tools/IDE/Splash.py @@ -43,6 +43,7 @@ def importing(module): else: Qd.EraseRect(rect) Qd.PaintRect((36, 282, pos, 288)) + Qd.QDFlushPortBuffer(splash.GetDialogWindow().GetWindowPort(), None) def my__import__(name, globals=None, locals=None, fromlist=None): try: @@ -101,6 +102,7 @@ def UpdateSplash(drawdialog = 0, what = 0): splash.DrawDialog() drawtext(what) splash.GetDialogWindow().ValidWindowRect(splash.GetDialogPort().portRect) + Qd.QDFlushPortBuffer(splash.GetDialogWindow().GetWindowPort(), None) def drawtext(what = 0): Qd.SetPort(splash)