mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Added QDFlushPortBuffer calls.
This commit is contained in:
parent
fffec05bcb
commit
06646a1be0
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue