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
This commit is contained in:
parent
3614a8dc02
commit
c0b26bc2be
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user