]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Don't do App.DrawThemeListBoxFrame() upon activate: it starts
authorJust van Rossum <just@letterror.com>
Sat, 8 Dec 2001 09:51:41 +0000 (09:51 +0000)
committerJust van Rossum <just@letterror.com>
Sat, 8 Dec 2001 09:51:41 +0000 (09:51 +0000)
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?...

Mac/Tools/IDE/Wlists.py

index 9eaab1d4a8096cdca481ea2fe6d1f44a25b4856f..14edeb883ef81a95af56ab8f4f10117acb7b2a9f 100644 (file)
@@ -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)