[Python-checkins] CVS: python/dist/src/Mac/Demo/mlte mlted.py,1.2,1.2.2.1

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


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

Modified Files:
      Tag: release21-maint
	mlted.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: mlted.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Demo/mlte/mlted.py,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** mlted.py	2001/07/16 21:57:50	1.2
--- mlted.py	2001/07/29 21:50:28	1.2.2.1
***************
*** 25,29 ****
  		self.name = name
  		r = windowbounds(400, 400)
! 		w = Win.NewWindow(r, name, 1, 0, -1, 1, 0x55555555)
  		self.wid = w
  		flags = MacTextEditor.kTXNDrawGrowIconMask|MacTextEditor.kTXNWantHScrollBarMask| \
--- 25,29 ----
  		self.name = name
  		r = windowbounds(400, 400)
! 		w = Win.NewWindow(r, name, 1, 0, -1, 1, 0)
  		self.wid = w
  		flags = MacTextEditor.kTXNDrawGrowIconMask|MacTextEditor.kTXNWantHScrollBarMask| \