X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/febb39df079df7ee642ad70d47be72cb57870f1c..57d0f66a02c560a1d7c772c1272aedd03eb709ea:/wxPython/demo/Main.py?ds=inline diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 33d9b9ecdf..c7bbb1b03e 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -48,17 +48,26 @@ _treeList = [ # new stuff ('Recent Additions/Updates', [ 'AnalogClock', - 'AUI', + 'AUI_DockingWindowMgr', + 'AUI_Notebook', 'CheckListCtrlMixin', + 'ComboTreeBox', 'Pickers', + 'PseudoDC', 'RichTextCtrl', 'Treebook', 'Toolbook', + 'BitmapFromBuffer', + 'RawBitmapAccess', + 'DragScroller', +## 'AlphaDrawing', + 'DelayedResult', + 'ExpandoTextCtrl', ]), # managed windows == things with a (optional) caption you can close ('Frames and Dialogs', [ - 'AUI', + 'AUI_DockingWindowMgr', 'Dialog', 'Frame', 'MDIWindows', @@ -127,6 +136,7 @@ _treeList = [ ]), ('"Book" Controls', [ + 'AUI_Notebook', 'Choicebook', 'Listbook', 'Notebook', @@ -137,6 +147,7 @@ _treeList = [ ('Custom Controls', [ 'AnalogClock', 'ColourSelect', + 'ComboTreeBox', 'Editor', 'GenericButtons', 'GenericDirCtrl', @@ -160,6 +171,7 @@ _treeList = [ 'DatePickerCtrl', 'DynamicSashWindow', 'EditableListBox', + 'ExpandoTextCtrl', 'FancyText', 'FileBrowseButton', 'FloatBar', @@ -206,6 +218,7 @@ _treeList = [ # ditto ('Process and Events', [ + 'DelayedResult', 'EventManager', 'KeyEvents', 'Process', @@ -224,7 +237,9 @@ _treeList = [ # Images ('Using Images', [ +## 'AlphaDrawing', 'ArtProvider', + 'BitmapFromBuffer', 'Cursor', 'DragImage', 'GIFAnimationCtrl', @@ -232,13 +247,16 @@ _treeList = [ 'ImageAlpha', 'ImageFromStream', 'Mask', + 'RawBitmapAccess', 'Throbber', ]), # Other stuff ('Miscellaneous', [ +## 'AlphaDrawing', 'ColourDB', ##'DialogUnits', # needs more explanations + 'DragScroller', 'DrawXXXList', 'FileHistory', 'FontEnumerator', @@ -248,6 +266,7 @@ _treeList = [ 'MouseGestures', 'OGL', 'PrintFramework', + 'PseudoDC', 'ShapedWindow', 'Sound', 'StandardPaths', @@ -1128,8 +1147,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 +1634,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()