summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-12-08 09:51:41 (GMT)
committerJust van Rossum <just@letterror.com>2001-12-08 09:51:41 (GMT)
commit59d5a9b5b7db3c84435d80224a825b8133654273 (patch)
tree4c4a198933ae4ae0c1046c8ea523b945fad89ca2
parentbaefcebb55796470026d108b697d50473928a348 (diff)
downloadcpython-59d5a9b5b7db3c84435d80224a825b8133654273.zip
cpython-59d5a9b5b7db3c84435d80224a825b8133654273.tar.gz
cpython-59d5a9b5b7db3c84435d80224a825b8133654273.tar.bz2
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?...
-rw-r--r--Mac/Tools/IDE/Wlists.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Tools/IDE/Wlists.py b/Mac/Tools/IDE/Wlists.py
index 9eaab1d..14edeb8 100644
--- a/Mac/Tools/IDE/Wlists.py
+++ b/Mac/Tools/IDE/Wlists.py
@@ -269,8 +269,8 @@ class List(Wbase.SelectableWidget):
self._activated = onoff
if self._visible:
self._list.LActivate(onoff)
- state = [kThemeStateActive, kThemeStateInactive][not onoff]
- App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state)
+ #state = [kThemeStateActive, kThemeStateInactive][not onoff]
+ #App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state)
if self._selected:
self.drawselframe(onoff)