X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c843739842304a0ed314120ede283d7ea1fca079..628eae0bcd7916c57847b7eab739d4cc32534ccf:/wxPython/demo/SplitterWindow.py?ds=sidebyside 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))