[Python-checkins] CVS: python/dist/src/Mac/Demo/waste htmled.py,1.8,1.8.4.1

Jack Jansen jackjansen@users.sourceforge.net
2001年7月29日 14:50:22 -0700


Update of /cvsroot/python/python/dist/src/Mac/Demo/waste
In directory usw-pr-cvs1:/tmp/cvs-serv27627/Python/Mac/Demo/waste
Modified Files:
 Tag: release21-maint
	htmled.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: htmled.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Demo/waste/htmled.py,v
retrieving revision 1.8
retrieving revision 1.8.4.1
diff -C2 -d -r1.8 -r1.8.4.1
*** htmled.py	2001年01月29日 15:32:00	1.8
--- htmled.py	2001年07月29日 21:50:20	1.8.4.1
***************
*** 48,52 ****
 		self.name = name
 		r = windowbounds(400, 400)
! 		w = Win.NewWindow(r, name, 1, 0, -1, 1, 0x55555555)
 		self.wid = w
 		vr = LEFTMARGIN, 0, r[2]-r[0]-15, r[3]-r[1]-15
--- 48,52 ----
 		self.name = name
 		r = windowbounds(400, 400)
! 		w = Win.NewWindow(r, name, 1, 0, -1, 1, 0)
 		self.wid = w
 		vr = LEFTMARGIN, 0, r[2]-r[0]-15, r[3]-r[1]-15

AltStyle によって変換されたページ (->オリジナル) /