- 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))