Robin Dunn wrote:
Stuart McGraw wrote:
> Hello all,
>
> I am using wxPython for the second time.
> I am using the xrc editor to do layout of my windows,
> and am having a problem with the HtmlWindow control.
>
> In my code, when I need to get a reference to the
> various controls inside the frame. I do it by assigning
> each control an ID in the XRC editor ("my_text_control"
> for example), and then doing something like:
> t = xrc.XRCCTRL(self, "my_text_control")
> t.SetValue ("my text string")
>
> (Is this the right way to do things?)Yes.
> This has worked fine for text controls, buttons, etc,
> but when I do this with an HtmlWindow control, I
> get back a ScrolledWindow object, rather than a
> HtmlWindow object.What version of wxPython are you using?
Oops, sorry about that. wxPython-2.6.2.1, Python-2.4.2.