summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-03-15 14:35:33 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-03-15 14:35:33 (GMT)
commit06646a1be0afada3c50337441f10ec78080d584d (patch)
tree9aa483eaa56c3c6bbc8add35209a97b6de310bce /Mac
parentfffec05bcb5eb9bb4ebd18268726ff413e3f3c09 (diff)
downloadcpython-06646a1be0afada3c50337441f10ec78080d584d.zip
cpython-06646a1be0afada3c50337441f10ec78080d584d.tar.gz
cpython-06646a1be0afada3c50337441f10ec78080d584d.tar.bz2
Added QDFlushPortBuffer calls.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Tools/IDE/Splash.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/Splash.py b/Mac/Tools/IDE/Splash.py
index 0ce879a..862d82e 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)