X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/febb39df079df7ee642ad70d47be72cb57870f1c..974a50f1bbd6bcff1666fa492ee9802a6ee5b8da:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 33d9b9ecdf..e25583b64d 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -48,17 +48,31 @@ _treeList = [ # new stuff ('Recent Additions/Updates', [ 'AnalogClock', - 'AUI', + 'AUI_DockingWindowMgr', + 'AUI_Notebook', 'CheckListCtrlMixin', + 'ComboTreeBox', 'Pickers', + 'PseudoDC', 'RichTextCtrl', 'Treebook', 'Toolbook', + 'BitmapFromBuffer', + 'RawBitmapAccess', + 'DragScroller', + 'DelayedResult', + 'ExpandoTextCtrl', + 'ButtonPanel', + 'FlatNotebook', + 'CustomTreeCtrl', + 'AboutBox', + 'AnimateCtrl', + 'AlphaDrawing', ]), # managed windows == things with a (optional) caption you can close ('Frames and Dialogs', [ - 'AUI', + 'AUI_DockingWindowMgr', 'Dialog', 'Frame', 'MDIWindows', @@ -68,6 +82,7 @@ _treeList = [ # the common dialogs ('Common Dialogs', [ + 'AboutBox', 'ColourDialog', 'DirDialog', 'FileDialog', @@ -127,6 +142,7 @@ _treeList = [ ]), ('"Book" Controls', [ + 'AUI_Notebook', 'Choicebook', 'Listbook', 'Notebook', @@ -136,8 +152,12 @@ _treeList = [ ('Custom Controls', [ 'AnalogClock', + 'ButtonPanel', 'ColourSelect', + 'ComboTreeBox', + 'CustomTreeCtrl', 'Editor', + 'FlatNotebook', 'GenericButtons', 'GenericDirCtrl', 'LEDNumberCtrl', @@ -160,12 +180,12 @@ _treeList = [ 'DatePickerCtrl', 'DynamicSashWindow', 'EditableListBox', + 'ExpandoTextCtrl', 'FancyText', 'FileBrowseButton', 'FloatBar', 'FloatCanvas', 'FoldPanelBar', - 'GIFAnimationCtrl', 'HtmlWindow', 'HyperLinkCtrl', 'IntCtrl', @@ -206,6 +226,7 @@ _treeList = [ # ditto ('Process and Events', [ + 'DelayedResult', 'EventManager', 'KeyEvents', 'Process', @@ -224,21 +245,26 @@ _treeList = [ # Images ('Using Images', [ + 'AlphaDrawing', + 'AnimationCtrl', 'ArtProvider', + 'BitmapFromBuffer', 'Cursor', 'DragImage', - 'GIFAnimationCtrl', 'Image', 'ImageAlpha', 'ImageFromStream', 'Mask', + 'RawBitmapAccess', 'Throbber', ]), # Other stuff ('Miscellaneous', [ + 'AlphaDrawing', 'ColourDB', ##'DialogUnits', # needs more explanations + 'DragScroller', 'DrawXXXList', 'FileHistory', 'FontEnumerator', @@ -248,6 +274,7 @@ _treeList = [ 'MouseGestures', 'OGL', 'PrintFramework', + 'PseudoDC', 'ShapedWindow', 'Sound', 'StandardPaths', @@ -1128,8 +1155,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 @@ -1612,7 +1642,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()