]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
use AlphaBlt() when blitting to a bitmap with alpha channel too (patch 991166)
[wxWidgets.git] / 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())