Background erase of debug variable panel was disabled for some reason, and it not anymore compatible with EVT_PAINT based refresh. It was leaving traces behind when removing traced variable. Fixed.
--- a/controls/DebugVariablePanel/DebugVariablePanel.py Thu Apr 11 13:41:52 2019 +0200
+++ b/controls/DebugVariablePanel/DebugVariablePanel.py Thu Apr 11 13:45:27 2019 +0200
@@ -279,7 +279,6 @@
self.GraphicsWindow = wx.ScrolledWindow(self, style=wx.HSCROLL | wx.VSCROLL)
self.GraphicsWindow.SetBackgroundColour(wx.WHITE)
self.GraphicsWindow.SetDropTarget(DebugVariableDropTarget(self))
- self.GraphicsWindow.Bind(wx.EVT_ERASE_BACKGROUND, self.OnGraphicsWindowEraseBackground)
self.GraphicsWindow.Bind(wx.EVT_PAINT, self.OnGraphicsWindowPaint)
self.GraphicsWindow.Bind(wx.EVT_SIZE, self.OnGraphicsWindowResize)
self.GraphicsWindow.Bind(wx.EVT_MOUSEWHEEL, self.OnGraphicsWindowMouseWheel)
@@ -927,9 +926,6 @@
vheight // SCROLLBAR_UNIT,
posx, posy)
- def OnGraphicsWindowEraseBackground(self, event):
- pass
-
def OnGraphicsWindowPaint(self, event):
"""EVT_PAINT handler"""