Mike Mabey wrote:
> 1012, in LoadFile
>     return _html.HtmlWindow_LoadFile(*args, **kwargs)
> TypeError: in method 'HtmlWindow_LoadFile', expected argument 1 of type
> 'wxPyHtmlWindow *'
> 
> 
> I'm not sure I understand what's going on here.  Why is it choking on that
> parameter?

Not your fault. I looked at dHtmlBox.py just now and saw that the test 
was setting self.Source in afterInit() instead of initProperties(). I 
then tried moving that call into initProperties() and got the same error 
as you.

I guess we figured out early on that setting this in initProperties() 
wasn't working, which is why we coded the test to set it in afterInit(). 
While afterInit() is also a perfectly acceptable place to set these 
properties as well, initProperties() really ought to work, too.

So, I made the needed fixes to the Page and Source properties. Please 
update your dabo to r5271 to test.

Thanks for persisting!

Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to