Hi !
This is the code:
clr=self.toppanel.GetBackgroundColour()
self.datanotebook = wxNotebook(self, -1, style=0)
self.datanotebook.SetBackgroundColour(clr) # I'll try to set
for i in range(len(self.NBNames)):
nb=wxPanel(self.datanotebook, -1)
nb.SetBackgroundColour(clr)
self.datanotebook.AddPage(nb,self.NBNames[i])
self.NBObjs.append(nb)
sizer=wxBoxSizer(wxHORIZONTAL)
self.NBSizers.append(sizer)
nb.SetAutoLayout(1)
nb.SetSizer(sizer)
The toppanel's color is the Windows ButtonFace Color (silver).
But the NB and it's items are get White Color.
Why ? How I can set the color ?
Thanx:
KK