IDE: Fix visibility of text in Debug panel when using dark theme. wxPython4
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Fri, 04 Nov 2022 22:11:55 +0100
branchwxPython4
changeset 3659 278dc1144059
parent 3658 5ba5a0177fb3
child 3660 0e41dbe6ddcd
IDE: Fix visibility of text in Debug panel when using dark theme.
controls/DebugVariablePanel/DebugVariableGraphicViewer.py
controls/DebugVariablePanel/DebugVariablePanel.py
--- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py	Fri Nov 04 22:09:42 2022 +0100
+++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py	Fri Nov 04 22:11:55 2022 +0100
@@ -278,7 +278,6 @@
 
         FigureCanvas.__init__(self, parent, -1, self.Figure)
         self.SetWindowStyle(wx.WANTS_CHARS)
-        self.SetBackgroundColour(wx.WHITE)
 
         # Bind wx events
         self.Bind(wx.EVT_LEFT_DCLICK, self.OnLeftDClick)
--- a/controls/DebugVariablePanel/DebugVariablePanel.py	Fri Nov 04 22:09:42 2022 +0100
+++ b/controls/DebugVariablePanel/DebugVariablePanel.py	Fri Nov 04 22:11:55 2022 +0100
@@ -202,7 +202,6 @@
         # data is available
         self.Force = False
 
-        self.SetBackgroundColour(wx.WHITE)
 
         main_sizer = wx.BoxSizer(wx.VERTICAL)