projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d82d64
)
Always draw the selection of selected items, not just when they have
author
Robin Dunn
<robin@alldunn.com>
Tue, 31 Oct 2006 18:43:07 +0000
(18:43 +0000)
committer
Robin Dunn
<robin@alldunn.com>
Tue, 31 Oct 2006 18:43:07 +0000
(18:43 +0000)
an icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42870
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
wxPython/wx/lib/customtreectrl.py
patch
|
blob
|
blame
|
history
diff --git
a/wxPython/wx/lib/customtreectrl.py
b/wxPython/wx/lib/customtreectrl.py
index 75d792258c7ec6eb1d92554d6107b42f5ac9a3f4..1dfcde6193f43797a8a103750862d4dd16923ba6 100644
(file)
--- a/
wxPython/wx/lib/customtreectrl.py
+++ b/
wxPython/wx/lib/customtreectrl.py
@@
-4271,8
+4271,8
@@
class CustomTreeCtrl(wx.PyScrolledWindow):
dc.DrawRectangleRect(itemrect)
else:
-
- if item.IsSelected()
and image != _NO_IMAGE
:
+
+ if item.IsSelected():
# If it's selected, and there's an image, then we should
# take care to leave the area under the image painted in the