X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..c69532f71c551617ab276bf83bbd7973b66cd54f:/wxPython/demo/SplitterWindow.py

diff --git a/wxPython/demo/SplitterWindow.py b/wxPython/demo/SplitterWindow.py
index 1f1e19a2e7..dafc4600c0 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,17 @@ 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)
-
-    p2 = wx.Window(splitter, -1)
-    p2.SetBackgroundColour(wx.BLUE)
-    p2.SetForegroundColour(wx.WHITE)
-    wx.StaticText(p2, -1, "Panel Two", (5,5))#.SetBackgroundColour(wx.BLUE)
+    #sty = wx.BORDER_NONE
+    #sty = wx.BORDER_SIMPLE
+    sty = wx.BORDER_SUNKEN
+    
+    p1 = wx.Window(splitter, style=sty)
+    p1.SetBackgroundColour("pink")
+    wx.StaticText(p1, -1, "Panel One", (5,5))
+
+    p2 = wx.Window(splitter, style=sty)
+    p2.SetBackgroundColour("sky blue")
+    wx.StaticText(p2, -1, "Panel Two", (5,5))
 
     splitter.SetMinimumPaneSize(20)
     splitter.SplitVertically(p1, p2, -100)