X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b7fa2d9691bc34339e38684a798e9ab3f711e13..962162620ff8b78f4d25c7f4ccec88ce071dfb2b:/wxPython/demo/Main.py?ds=sidebyside diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 574387f1e1..ddce684930 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -39,6 +39,9 @@ _treeList = [ 'Cursor', 'PyPlot', 'ImageAlpha', + 'ActiveX_FlashWindow', + 'ActiveX_IEHtmlWindow', + 'ActiveX_PDFWindow', ]), # managed windows == things with a (optional) caption you can close @@ -68,7 +71,6 @@ _treeList = [ # dialogs from libraries ('More Dialogs', [ - ##'ErrorDialogs', 'ImageBrowser', 'MultipleChoiceDialog', 'ScrolledMessageDialog', @@ -126,6 +128,9 @@ _treeList = [ # controls coming from other libraries ('More Windows/Controls', [ + 'ActiveX_FlashWindow', + 'ActiveX_IEHtmlWindow', + 'ActiveX_PDFWindow', #'RightTextCtrl', deprecated as we have wxTE_RIGHT now. 'Calendar', 'CalendarCtrl', @@ -137,7 +142,6 @@ _treeList = [ 'FloatBar', 'FloatCanvas', 'HtmlWindow', - 'IEHtmlWin', 'IntCtrl', 'MVCTree', 'MaskedEditControls', @@ -174,7 +178,6 @@ _treeList = [ ('Process and Events', [ 'EventManager', 'KeyEvents', - ##'OOR', 'Process', 'PythonEvents', 'Threads', @@ -209,7 +212,6 @@ _treeList = [ 'FileHistory', 'FontEnumerator', 'Joystick', - 'NewNamespace', 'OGL', 'PrintFramework', 'ShapedWindow', @@ -219,10 +221,7 @@ _treeList = [ # need libs not coming with the demo ('Objects using an external library', [ - 'ActiveXWrapper_Acrobat', - 'ActiveXWrapper_IE', 'GLCanvas', - #'PlotCanvas', # deprecated, use PyPlot ]), @@ -722,6 +721,7 @@ class wxPythonDemo(wx.Frame): self.txt.Clear() self.window = None + self.tree.SetFocus() #--------------------------------------------- @@ -816,8 +816,6 @@ class wxPythonDemo(wx.Frame): self.dying = True self.window = None self.mainmenu = None - if hasattr(self, "tbicon"): - del self.tbicon self.Destroy()