Looks like Win XP won't let me change the background color on a wxPanel.
The panel is on a notebook page. Is there something in XP that makes it
ignore background colors? Any other pitfalls that can be
causing this?
I put wxStaticText on the panel. I change the panel's background and
foreground colors in consecutive statements. The text picks up the
new foreground color, but the background stays white regardless.
Looks like Win XP won't let me change the background color on a wxPanel.
The panel is on a notebook page. Is there something in XP that makes it
ignore background colors? Any other pitfalls that can be
causing this?
Code was added to try and get various widgets to comply with the XP theme drawing API. In this case it is resetting notebook pages and their children to match the theme background. I think if you set the background of the page after it has been added to the notebook then you will be able to get the color you want.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!