X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98bbf4e250c7d30510982f4db73d2629e7c9b36d..99109c0ff1c29c7c977c073f9f8e0bf4b8e728f7:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index f813bf1431..31a56a73a7 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -20,8 +20,9 @@ import images # For debugging ##wx.Trap(); +##print "wx.VERSION_STRING = ", wx.VERSION_STRING ##print os.getpid(); -##raw_input("Press a key...") +##raw_input("Press Enter...") #--------------------------------------------------------------------------- @@ -71,7 +72,6 @@ _treeList = [ # dialogs from libraries ('More Dialogs', [ - ##'ErrorDialogs', 'ImageBrowser', 'MultipleChoiceDialog', 'ScrolledMessageDialog', @@ -143,7 +143,6 @@ _treeList = [ 'FloatBar', 'FloatCanvas', 'HtmlWindow', - ##'IEHtmlWin', 'IntCtrl', 'MVCTree', 'MaskedEditControls', @@ -180,7 +179,6 @@ _treeList = [ ('Process and Events', [ 'EventManager', 'KeyEvents', - ##'OOR', 'Process', 'PythonEvents', 'Threads', @@ -215,7 +213,6 @@ _treeList = [ 'FileHistory', 'FontEnumerator', 'Joystick', - 'NewNamespace', 'OGL', 'PrintFramework', 'ShapedWindow', @@ -225,10 +222,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,13 +465,13 @@ 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 | wx.SP_LIVE_UPDATE | wx.SP_3D) + splitter2 = wx.SplitterWindow(splitter, -1, style=wx.CLIP_CHILDREN | wx.SP_LIVE_UPDATE | wx.SP_3D) # Set up a log on the View Log Notebook page self.log = wx.TextCtrl(splitter2, -1, style = wx.TE_MULTILINE|wx.TE_READONLY|wx.HSCROLL) - + # Set the wxWindows log target to be this textctrl #wx.Log_SetActiveTarget(wx.LogTextCtrl(self.log)) @@ -641,7 +635,7 @@ class wxPythonDemo(wx.Frame): self.tree.EnsureVisible(selectedDemo) - wx.LogMessage('window handle: %s' % self.GetHandle()) +## wx.LogMessage('window handle: %s' % self.GetHandle()) #---------------------------------------------