From c0b26bc2be127ef9b872d24fd749c0e318d084ba Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 30 Sep 2004 19:40:24 +0000 Subject: [PATCH] Don't need to tickle the Idle process any more for taskbar icons git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/Main.py | 4 ---- 1 file changed, 4 deletions(-) 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()) -- 2.47.2