From 5348e369bc88bc7339c1a22b160963d2fcef2755 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 28 Apr 2017 20:57:38 -0700 Subject: [PATCH] Stop the main timer when the toast is done, otherwise it will burn --- wx/lib/agw/toasterbox.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wx/lib/agw/toasterbox.py b/wx/lib/agw/toasterbox.py index ab08b70f..d87ea4d9 100644 --- a/wx/lib/agw/toasterbox.py +++ b/wx/lib/agw/toasterbox.py @@ -1247,6 +1247,7 @@ class ToasterBoxWindow(wx.Frame): if self._amount < 0: self.Hide() + self.showtime.Stop() if self._parent2: self._parent2.Notify()