From c843739842304a0ed314120ede283d7ea1fca079 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 20 Apr 2005 22:27:19 +0000 Subject: [PATCH] Some little tweaks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/SplitterWindow.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/wxPython/demo/SplitterWindow.py b/wxPython/demo/SplitterWindow.py index 1f1e19a2e7..7d2ab65be0 100644 --- a/wxPython/demo/SplitterWindow.py +++ b/wxPython/demo/SplitterWindow.py @@ -6,8 +6,7 @@ import wx class MySplitter(wx.SplitterWindow): def __init__(self, parent, ID, log): wx.SplitterWindow.__init__(self, parent, ID, - style = wx.SP_3D - #| wx.SP_LIVE_UPDATE + style = wx.SP_LIVE_UPDATE ) self.log = log @@ -28,14 +27,13 @@ class MySplitter(wx.SplitterWindow): def runTest(frame, nb, log): splitter = MySplitter(nb, -1, log) - p1 = wx.Window(splitter, -1) - p1.SetBackgroundColour(wx.RED) - wx.StaticText(p1, -1, "Panel One", (5,5))#.SetBackgroundColour(wx.RED) + p1 = wx.Window(splitter)#, style=wx.BORDER_SIMPLE) + p1.SetBackgroundColour("pink") + wx.StaticText(p1, -1, "Panel One", (5,5)) - p2 = wx.Window(splitter, -1) - p2.SetBackgroundColour(wx.BLUE) - p2.SetForegroundColour(wx.WHITE) - wx.StaticText(p2, -1, "Panel Two", (5,5))#.SetBackgroundColour(wx.BLUE) + p2 = wx.Window(splitter)#, style=wx.BORDER_SIMPLE) + p2.SetBackgroundColour("sky blue") + wx.StaticText(p2, -1, "Panel Two", (5,5)) splitter.SetMinimumPaneSize(20) splitter.SplitVertically(p1, p2, -100) -- 2.47.2