[wxPython-users] Re: XRC and dynamically created widgets?
Robin Dunn
robin at alldunn.com
Tue Oct 3 10:43:17 PDT 2006
John Salerno wrote:
> 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.
Yes, I've just discovered that too. :-( I'll ask about it on wx-dev.
> =
> I'm not really sure how to create the Notebook at a later time, because =
> it only needs to be done once, =
See the attached for one way to do it.
-- =
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbapp.py
Type: text/x-python
Size: 898 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20061=
003/3134cd56/dbapp.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbgui.xrc
Type: text/xml
Size: 747 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20061=
003/3134cd56/dbgui.bin
More information about the wxpython-users
mailing list