[Python-checkins] CVS: python/dist/src/Mac/Demo/waste wed.py,1.5,1.5.4.1

Jack Jansen jackjansen@users.sourceforge.net
Sun, 29 Jul 2001 14:50:46 -0700


Update of /cvsroot/python/python/dist/src/Mac/Demo/waste
In directory usw-pr-cvs1:/tmp/cvs-serv27803/Python/Mac/Demo/waste

Modified Files:
      Tag: release21-maint
	wed.py 
Log Message:
These demos used silly refcon values when creating their windows. This effectuively caused Pythons automatic cleanup of windows on refcount reaching zero to be disabled.

Index: wed.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Demo/waste/wed.py,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -C2 -d -r1.5 -r1.5.4.1
*** wed.py	2001/01/23 14:57:41	1.5
--- wed.py	2001/07/29 21:50:44	1.5.4.1
***************
*** 26,30 ****
  		self.name = name
  		r = windowbounds(400, 400)
! 		w = Win.NewWindow(r, name, 1, 0, -1, 1, 0x55555555)
  		self.wid = w
  		vr = 0, 0, r[2]-r[0]-15, r[3]-r[1]-15
--- 26,30 ----
  		self.name = name
  		r = windowbounds(400, 400)
! 		w = Win.NewWindow(r, name, 1, 0, -1, 1, 0)
  		self.wid = w
  		vr = 0, 0, r[2]-r[0]-15, r[3]-r[1]-15