[pywin32-checkins] pywin32/Pythonwin/pywin/Demos createwin.py, 1.1, 1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-12-06 00:36:46
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21016/Pythonwin/pywin/Demos Modified Files: createwin.py Log Message: Use int division when drawing the sample pie-chart. Index: createwin.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos/createwin.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** createwin.py 1 Sep 1999 23:33:35 -0000 1.1 --- createwin.py 6 Dec 2008 00:36:39 -0000 1.2 *************** *** 35,39 **** RedBox.DoPaint(self, dc) r = self.GetClientRect() ! dc.Pie(r[0], r[1], r[2], r[3], 0,0,r[2], r[3]/2) def MakeDlgTemplate(): --- 35,39 ---- RedBox.DoPaint(self, dc) r = self.GetClientRect() ! dc.Pie(r[0], r[1], r[2], r[3], 0,0,r[2], r[3]//2) def MakeDlgTemplate(): *************** *** 97,99 **** demo(1) - # II Cor. 12:9 $Header$ --- 97,98 ---- |