X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7c75283f2144469e8fa6a24ca285b42fab69a6b..ba8eb933c4dfce54d2f540c6895b04f6724f401f:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index d57aebbb36..e04c32b231 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -71,7 +71,6 @@ _treeList = [ # dialogs from libraries ('More Dialogs', [ - ##'ErrorDialogs', 'ImageBrowser', 'MultipleChoiceDialog', 'ScrolledMessageDialog', @@ -143,7 +142,6 @@ _treeList = [ 'FloatBar', 'FloatCanvas', 'HtmlWindow', - ##'IEHtmlWin', 'IntCtrl', 'MVCTree', 'MaskedEditControls', @@ -180,7 +178,6 @@ _treeList = [ ('Process and Events', [ 'EventManager', 'KeyEvents', - ##'OOR', 'Process', 'PythonEvents', 'Threads', @@ -215,7 +212,6 @@ _treeList = [ 'FileHistory', 'FontEnumerator', 'Joystick', - 'NewNamespace', 'OGL', 'PrintFramework', 'ShapedWindow', @@ -225,10 +221,7 @@ _treeList = [ # need libs not coming with the demo ('Objects using an external library', [ - ##'ActiveXWrapper_Acrobat', - ##'ActiveXWrapper_IE', # currently has tstate problems... 'GLCanvas', - #'PlotCanvas', # deprecated, use PyPlot ]), @@ -471,8 +464,8 @@ class wxPythonDemo(wx.Frame): self.Centre(wx.BOTH) self.CreateStatusBar(1, wx.ST_SIZEGRIP) - splitter = wx.SplitterWindow(self, -1) - splitter2 = wx.SplitterWindow(splitter, -1) ##, size=(20,20)) + splitter = wx.SplitterWindow(self, -1, style=wx.CLIP_CHILDREN) + splitter2 = wx.SplitterWindow(splitter, -1, style=wx.CLIP_CHILDREN) # Set up a log on the View Log Notebook page self.log = wx.TextCtrl(splitter2, -1, @@ -823,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()