|| at Aug 31, 2006 at 12:09 pm
this is my problem:
I've a wxNotebook object, which contains 2 Panels.
On up, there is TAB section, I have 2 tabs.
I want to color the TAB section with ( for example ) red color.
I've tried with SetBackgroundColour() for wxNotebook object and for 2
panel inside, but it doesn't works.
Presumably you forgot to refresh window. Try this:
app = wx.PySimpleApp()
frame = wx.Frame(None, -1, "Notebook")
nb = wx.Notebook(frame, -1)
form1 = wx.Panel(nb, -1)
form2 = wx.Panel(nb, -1)