XRC and dynamically created widgets?
John Salerno
johnjsal at NOSPAMgmail.com
Tue Oct 3 07:32:47 PDT 2006
Robin Dunn wrote:
> This is a known problem with, I think, how wx deals with the notebook
> theme settings for XP. Nobody's found a solution yet. It only happens
> when the notebook has no pages to begin with, so the easiest way to work
> around it is to either always give the notebook at least on page, or
> don't create the notebook until you need to show the first page.
I tried both of these options (as best as I know how) and the problem
still persists in one form or another. If an initial tab appears by
default, it still has that grayish background, and expanding the window
makes it white.
I'm not really sure how to create the Notebook at a later time, because
it only needs to be done once, so I've only managed to put it into code
that keeps creating it each time a new tab is created.
More information about the wxpython-users
mailing list