def Restart(self): self.SetForegroundColour(wx.Colour(0, 0, 255)) self._update_progress_text() self._timer.Start(500)