From 10f513328291b8f879b9182131b5aab3cd5985d8 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Mon, 27 Apr 2020 13:55:30 +0300 Subject: [PATCH] Revert "Disable system theme for listctrls on windows" This reverts commit 42658a8167ba9a1ad1223cdf8311df0931da9dbf. --- gui/display.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gui/display.py b/gui/display.py index 590ff0798..6c67de144 100644 --- a/gui/display.py +++ b/gui/display.py @@ -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 = []