Merge pull request #453 from RobinD42/fix-issue444

restore tbicon.Destroy code
This commit is contained in:
Robin Dunn
2017-08-04 20:28:57 -07:00
committed by GitHub

View File

@@ -2478,8 +2478,8 @@ class wxPythonDemo(wx.Frame):
self.mainmenu = None
self.StopDownload()
# if self.tbicon is not None:
# self.tbicon.Destroy()
if self.tbicon is not None:
self.tbicon.Destroy()
config = GetConfig()
config.Write('ExpansionState', str(self.tree.GetExpansionState()))