From: Robin Dunn <robin@alldunn.com>
Date: Thu, 30 Sep 2004 19:40:24 +0000 (+0000)
Subject: Don't need to tickle the Idle process any more for taskbar icons
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c0b26bc2be127ef9b872d24fd749c0e318d084ba?ds=inline

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
---

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())