I'm just starting to experiment with wxPython and I've just started on this
list, so I apologize if my questions are FAQed.
I've discovered that I like XRCed; I find the approach sensible. However,
there are a couple of weirdnesses I don't quite understand. One of them has to
do with wxHtmlWindow. I have a wxPanel that I've designed in XRCed with a
sprinkling of sizers, static texts, and text controls, plus one wxHtmlWindow.
Everything works as I expect, except that when I fetch the wxHtmlWindow in my
Python code using XMLCTRL or XMLID or GetChildren, what I get is a
wxScrolledWindow(Ptr), not a wxHtmlWindow.
If I assign a value to the "htmlstring" property in the .xrc, the value DOES
appear, so it is being created as a wxHtmlWindow. I just can't fetch it that
way. Have any clues?
···
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.