controls/DebugVariablePanel/DebugVariablePanel.py
changeset 2593 62c5c3589769
parent 2509 9c5f835b031e
child 2741 3cc5663af196
--- 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"""