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:
@@ -1012,10 +1012,6 @@ class DemoTaskBarIcon(wx.TaskBarIcon):
|
|||||||
def OnTaskBarClose(self, evt):
|
def OnTaskBarClose(self, evt):
|
||||||
self.frame.Close()
|
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):
|
def OnTaskBarChange(self, evt):
|
||||||
icon = self.MakeIcon(images.getBlom10MaskedImage())
|
icon = self.MakeIcon(images.getBlom10MaskedImage())
|
||||||
|
Reference in New Issue
Block a user