# HG changeset patch # User Edouard Tisserant # Date 1554983127 -7200 # Node ID 62c5c35897699aaccbd18e030fe6849caeeb2b90 # Parent 1c34bd8c50776120742d135925b1d4c3a4feb462 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. diff -r 1c34bd8c5077 -r 62c5c3589769 controls/DebugVariablePanel/DebugVariablePanel.py --- 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"""