X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c843739842304a0ed314120ede283d7ea1fca079..db679b8c836e69c111cdc31e62cf92cebe4f938f:/wxPython/demo/SplitterWindow.py?ds=inline diff --git a/wxPython/demo/SplitterWindow.py b/wxPython/demo/SplitterWindow.py index 7d2ab65be0..dafc4600c0 100644 --- a/wxPython/demo/SplitterWindow.py +++ b/wxPython/demo/SplitterWindow.py @@ -27,11 +27,15 @@ class MySplitter(wx.SplitterWindow): def runTest(frame, nb, log): splitter = MySplitter(nb, -1, log) - p1 = wx.Window(splitter)#, style=wx.BORDER_SIMPLE) + #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=wx.BORDER_SIMPLE) + p2 = wx.Window(splitter, style=sty) p2.SetBackgroundColour("sky blue") wx.StaticText(p2, -1, "Panel Two", (5,5))