Always draw the selection of selected items, not just when they have
an icon git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user