[Python-checkins] CVS: python/dist/src/Mac/Tools/IDE Wlists.py,1.9,1.10
Just van Rossum
jvr@users.sourceforge.net
2001年12月08日 01:51:44 -0800
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv20880
Modified Files:
Wlists.py
Log Message:
Don't do App.DrawThemeListBoxFrame() upon activate: it starts
looking worse and worse if you deactivate/activate the window
a few times. I don't know how to fix this properly, but I'm beginning
to think that it's almost impossible to support the Appearance
manager properly due to the way W works. Time for W2?...
Index: Wlists.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/Wlists.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Wlists.py 2001年12月04日 13:30:24 1.9
--- Wlists.py 2001年12月08日 09:51:41 1.10
***************
*** 270,275 ****
if self._visible:
self._list.LActivate(onoff)
! state = [kThemeStateActive, kThemeStateInactive][not onoff]
! App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state)
if self._selected:
self.drawselframe(onoff)
--- 270,275 ----
if self._visible:
self._list.LActivate(onoff)
! #state = [kThemeStateActive, kThemeStateInactive][not onoff]
! #App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state)
if self._selected:
self.drawselframe(onoff)