a little more tweaking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,11 +27,15 @@ class MySplitter(wx.SplitterWindow):
|
|||||||
def runTest(frame, nb, log):
|
def runTest(frame, nb, log):
|
||||||
splitter = MySplitter(nb, -1, 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")
|
p1.SetBackgroundColour("pink")
|
||||||
wx.StaticText(p1, -1, "Panel One", (5,5))
|
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")
|
p2.SetBackgroundColour("sky blue")
|
||||||
wx.StaticText(p2, -1, "Panel Two", (5,5))
|
wx.StaticText(p2, -1, "Panel Two", (5,5))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user