simpler; removed custom background color (clashes with theming)
This commit is contained in:
1 parent
7f9ff4eeab
commit
b2ca4d6432
1 file changed
+2
-4
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user