From: Kevin A. <ka...@us...> - 2004-08-24 06:48:51
|
Update of /cvsroot/pythoncard/PythonCard/samples/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14894/samples/widgets Modified Files: widgets.py Log Message: fixed Blit typo Index: widgets.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/widgets/widgets.py,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** widgets.py 15 Aug 2004 17:34:58 -0000 1.41 --- widgets.py 24 Aug 2004 06:48:40 -0000 1.42 *************** *** 372,376 **** memdc.SelectObject(bmp) dc = wx.WindowDC(w) ! memdc.Blit((0, 0), w.size, dc, (0, 0)) imgfilename = os.path.join(imagesDir, name + '.png') bmp.SaveFile(imgfilename, wx.BITMAP_TYPE_PNG) --- 372,376 ---- memdc.SelectObject(bmp) dc = wx.WindowDC(w) ! memdc.BlitPointSize((0, 0), w.size, dc, (0, 0)) imgfilename = os.path.join(imagesDir, name + '.png') bmp.SaveFile(imgfilename, wx.BITMAP_TYPE_PNG) |