diff --git a/gui/droneView.py b/gui/droneView.py index 1097d3db7..664552e1a 100644 --- a/gui/droneView.py +++ b/gui/droneView.py @@ -57,6 +57,10 @@ class DroneView(wx.ListCtrl): self.imageListBase = self.imageList.ImageCount + def OnEraseBackGround(self, event): + #Prevent flicker by not letting the parent's method get called. + pass + def addColumn(self, i, col): self.activeColumns.append(col) info = wx.ListItem() diff --git a/gui/fittingView.py b/gui/fittingView.py index 158c3fde0..0ade8b1cb 100644 --- a/gui/fittingView.py +++ b/gui/fittingView.py @@ -77,6 +77,10 @@ class FittingView(wx.ListCtrl): self.mainFrame = gui.mainFrame.MainFrame.getInstance() + def OnEraseBackGround(self, event): + #Prevent flicker by not letting the parent's method get called. + pass + def addColumn(self, i, col): self.activeColumns.append(col) info = wx.ListItem()