Revert "Disable system theme for listctrls on windows"

This reverts commit 42658a8167.
This commit is contained in:
DarkPhoenix
2020-04-27 13:55:30 +03:00
parent 42658a8167
commit 10f5133282

View File

@@ -29,9 +29,8 @@ class Display(wx.ListCtrl):
DEFAULT_COLS = None
def __init__(self, parent, size=wx.DefaultSize, style=0):
wx.ListCtrl.__init__(self, parent, size=size, style=wx.LC_REPORT | style)
# See https://github.com/wxWidgets/Phoenix/issues/1609
self.EnableSystemTheme(False)
self.imageList = CachingImageList(16, 16)
self.SetImageList(self.imageList, wx.IMAGE_LIST_SMALL)
self.activeColumns = []