simpler; removed custom background color (clashes with theming)

This commit is contained in:
2026-01-09 19:07:31 +01:00
parent 7f9ff4eeab
commit b2ca4d6432
+2 -4
View File
@@ -153,10 +153,8 @@ class ShortcutGoToLine(wx.BoxSizer):
class ReadOnlyTextCtrl(wx.TextCtrl):
def __init__(self, *args, **kwargs):
kwargs.setdefault("style", wx.TE_READONLY)
super().__init__(*args, **kwargs)
self.SetBackgroundColour(wx.LIGHT_GREY)
def __init__(self, *args, style=wx.TE_READONLY, **kwargs):
super().__init__(*args, style=style, **kwargs)