From: Kevin A. <ka...@us...> - 2004-05-10 19:53:01
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18942 Modified Files: widget.py Log Message: fixed DrawBitmap call to use DrawBitmapPoint (wxPython 2.5.2.x) Index: widget.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/widget.py,v retrieving revision 1.129 retrieving revision 1.130 diff -C2 -d -r1.129 -r1.130 *** widget.py 10 May 2004 17:24:24 -0000 1.129 --- widget.py 10 May 2004 19:52:51 -0000 1.130 *************** *** 449,453 **** y = -dy while y < sz.height: ! deviceContext.DrawBitmap(bmp, (x, y)) y = y + h x = x + w --- 449,453 ---- y = -dy while y < sz.height: ! deviceContext.DrawBitmapPoint(bmp, (x, y)) y = y + h x = x + w *************** *** 491,494 **** self.tileBackground( deviceContext ) else: ! deviceContext.DrawBitmap(self._bitmap.getBits(), (0, 0)) --- 491,494 ---- self.tileBackground( deviceContext ) else: ! deviceContext.DrawBitmapPoint(self._bitmap.getBits(), (0, 0)) |