XRC wxHtmlWindow is a wxScrolledWindow?

Robin -

I found this post from a year ago: http://aspn.activestate.com/ASPN/Mail/Message/wxpython-users/3321991

A user was using XRC to load a wxHtmlWindow control in wxPython 2.7 but he was unable to call the control’s SetPage() because the instantiated control was a wxScrolledWindow instead of a wxHtmlWindow. In your response, you said that it was a bug and that its been fixed. I’m running wxPython 2.8.4.0 and I’m experiencing the same sort of trouble.

Was this fixed or not?

Thanks,

Gre7g

Gre7g Luterman wrote:

Robin -
I found this post from a year ago: ActiveState Community - Boosting coder and team productivity with ready-to-use open source languages and tools.
A user was using XRC to load a wxHtmlWindow control in wxPython 2.7 but he was unable to call the control's SetPage() because the instantiated control was a wxScrolledWindow instead of a wxHtmlWindow. In your response, you said that it was a bug and that its been fixed. I'm running wxPython 2.8.4.0 <http://2.8.4.0> and I'm experiencing the same sort of trouble.
Was this fixed or not?

You need to import wx.html so wxPython knows how to wrap the right proxy class around the C++ object.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!