mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Minor fix
This commit is contained in:
parent
18a99f5597
commit
f4875af09c
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ def dumppixmap(data):
|
|||
def mk16pixmap(w, h, data):
|
||||
"""kludge a pixmap together"""
|
||||
rv = struct.pack("lhhhhhhhlllhhhhlll",
|
||||
id(data),
|
||||
id(data)+12,
|
||||
w*2 + 0x8000,
|
||||
0, 0, h, w,
|
||||
0,
|
||||
|
|
@ -128,7 +128,7 @@ def do_update(self, *args):
|
|||
currect, QuickDraw.srcCopy, None)
|
||||
self.info()
|
||||
Qd.CopyBits(self.pixmap, self.wid.GetWindowPort().portBits, self.pictrect,
|
||||
currect, QuickDraw.srcCopy, None)
|
||||
currect, QuickDraw.srcCopy+QuickDraw.ditherCopy, None)
|
||||
## Qd.DrawPicture(self.picture, currect)
|
||||
|
||||
def fitrect(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue