Added wx.lib.delayedresult from Oliver Schoenborn.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-14 21:06:57 +00:00
parent 1ca848a2a9
commit 8bbd1bbf18
4 changed files with 624 additions and 3 deletions

View File

@@ -61,6 +61,7 @@ _treeList = [
'RawBitmapAccess',
'DragScroller',
## 'AlphaDrawing',
'DelayedResult',
]),
# managed windows == things with a (optional) caption you can close
@@ -215,6 +216,7 @@ _treeList = [
# ditto
('Process and Events', [
'DelayedResult',
'EventManager',
'KeyEvents',
'Process',
@@ -1143,8 +1145,11 @@ class wxPythonDemo(wx.Frame):
icon = images.getWXPdemoIcon()
self.SetIcon(icon)
self.tbicon = DemoTaskBarIcon(self)
try:
self.tbicon = DemoTaskBarIcon(self)
except:
self.tbicon = None
wx.CallAfter(self.ShowTip)
self.otherWin = None
@@ -1627,7 +1632,8 @@ class wxPythonDemo(wx.Frame):
self.demoPage = None
self.codePage = None
self.mainmenu = None
self.tbicon.Destroy()
if self.tbicon is not None:
self.tbicon.Destroy()
self.Destroy()