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