]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't need to tickle the Idle process any more for taskbar icons
authorRobin Dunn <robin@alldunn.com>
Thu, 30 Sep 2004 19:40:24 +0000 (19:40 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 30 Sep 2004 19:40:24 +0000 (19:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/Main.py

index 9faf21fe84b4e68079778315d8ad4cbfefc08a41..d679dc2cb6028537d8315970eb26b07bc2816871 100644 (file)
@@ -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())