Commit 59d5a9b5 authored by Just van Rossum's avatar Just van Rossum

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?...
parent baefcebb
...@@ -269,8 +269,8 @@ class List(Wbase.SelectableWidget): ...@@ -269,8 +269,8 @@ class List(Wbase.SelectableWidget):
self._activated = onoff self._activated = onoff
if self._visible: if self._visible:
self._list.LActivate(onoff) self._list.LActivate(onoff)
state = [kThemeStateActive, kThemeStateInactive][not onoff] #state = [kThemeStateActive, kThemeStateInactive][not onoff]
App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state) #App.DrawThemeListBoxFrame(Qd.InsetRect(self._bounds, 1, 1), state)
if self._selected: if self._selected:
self.drawselframe(onoff) self.drawselframe(onoff)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment