X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dcc6f22870613bff993a26bd512c38fe29d56ba..57d0f66a02c560a1d7c772c1272aedd03eb709ea:/wxPython/demo/Main.py?ds=inline diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index b67361889d..c7bbb1b03e 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -50,7 +50,6 @@ _treeList = [ 'AnalogClock', 'AUI_DockingWindowMgr', 'AUI_Notebook', - 'BitmapFromBuffer', 'CheckListCtrlMixin', 'ComboTreeBox', 'Pickers', @@ -58,6 +57,12 @@ _treeList = [ 'RichTextCtrl', 'Treebook', 'Toolbook', + 'BitmapFromBuffer', + 'RawBitmapAccess', + 'DragScroller', +## 'AlphaDrawing', + 'DelayedResult', + 'ExpandoTextCtrl', ]), # managed windows == things with a (optional) caption you can close @@ -166,6 +171,7 @@ _treeList = [ 'DatePickerCtrl', 'DynamicSashWindow', 'EditableListBox', + 'ExpandoTextCtrl', 'FancyText', 'FileBrowseButton', 'FloatBar', @@ -212,6 +218,7 @@ _treeList = [ # ditto ('Process and Events', [ + 'DelayedResult', 'EventManager', 'KeyEvents', 'Process', @@ -230,6 +237,7 @@ _treeList = [ # Images ('Using Images', [ +## 'AlphaDrawing', 'ArtProvider', 'BitmapFromBuffer', 'Cursor', @@ -239,13 +247,16 @@ _treeList = [ 'ImageAlpha', 'ImageFromStream', 'Mask', + 'RawBitmapAccess', 'Throbber', ]), # Other stuff ('Miscellaneous', [ +## 'AlphaDrawing', 'ColourDB', ##'DialogUnits', # needs more explanations + 'DragScroller', 'DrawXXXList', 'FileHistory', 'FontEnumerator', @@ -1136,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 @@ -1620,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()