X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49090f6f10909160d1fd52ba8919c9baeb46f649..a761df69a31c5bdbf6af7a80709bfd9cc8a854b3:/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())