X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49090f6f10909160d1fd52ba8919c9baeb46f649..45c82204b9f59b583bae019f15c652ffd63f89ef:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 9faf21fe84..d679dc2cb6 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -1012,10 +1012,6 @@ class DemoTaskBarIcon(wx.TaskBarIcon): def OnTaskBarClose(self, evt): self.frame.Close() - # because of the way wx.TaskBarIcon.PopupMenu is implemented we have to - # prod the main idle handler a bit to get the window to actually close - wx.GetApp().ProcessIdle() - def OnTaskBarChange(self, evt): icon = self.MakeIcon(images.getBlom10MaskedImage())