[Python-checkins] CVS: python/dist/src/Mac/Tools/IDE Wbase.py,1.7,1.7.2.1

Jack Jansen jackjansen@users.sourceforge.net
Tue, 20 Nov 2001 15:21:38 -0800


Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv8315/Python/Mac/Tools/IDE

Modified Files:
      Tag: r22b2-branch
	Wbase.py 
Log Message:
Merged Just's trunk changes.

Index: Wbase.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/Wbase.py,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -C2 -d -r1.7 -r1.7.2.1
*** Wbase.py	2001/11/02 19:09:34	1.7
--- Wbase.py	2001/11/20 23:21:36	1.7.2.1
***************
*** 1,3 ****
! from Carbon import Evt, Qd, QuickDraw, Win
  import string
  from types import *
--- 1,3 ----
! from Carbon import App, Evt, Qd, QuickDraw, Win
  import string
  from types import *
***************
*** 330,342 ****
  		if not self._parentwindow._hasselframes:
  			return
! 		thickrect = Qd.InsetRect(self._bounds, -3, -3)
! 		state = Qd.GetPenState()
! 		Qd.PenSize(2, 2)
! 		if onoff:
! 			Qd.PenPat(Qd.qd.black)
! 		else:
! 			Qd.PenPat(Qd.qd.white)
! 		Qd.FrameRect(thickrect)
! 		Qd.SetPenState(state)
  	
  	def adjust(self, oldbounds):
--- 330,334 ----
  		if not self._parentwindow._hasselframes:
  			return
! 		App.DrawThemeFocusRect(self._bounds, onoff)
  	
  	def adjust(self, oldbounds):