[wxPython-users] Re: xrced help

Lee Connell lee.a.connell at gmail.com
Sat Feb 10 06:27:57 PST 2007


Robin,

I guess that slipped by the common sense radar ;)

I've bought your book as well BTW, thank you very much!

-----Original Message-----
From: Robin Dunn [mailto:robin at alldunn.com] 
Sent: Friday, February 09, 2007 7:12 PM
To: wxPython-users at lists.wxwidgets.org
Subject: Re: [wxPython-users] Re: xrced help

Lee Connell wrote:
> Eli,
> 
> Did you see a posting earlier I sent about using assigning a variable from
> wx.xrc using XRCCTRL?  The type is wxHtmlWindow however it is saying it is
> of type wxScrollableWindow.  I seen previous posts that this was a bug,
but
> that was back in 2.7, I'm running 2.8.1.  I think I can use wxPyTypeCast()
> for now, but is there something wrong I'm doing?

You need to import wx.html in your Python code, so the typeinfo for the 
wxHtml classes is loaded and will be checked when the wrappers are 
trying to find the type of object to construct and return to you from 
XRCCTRL.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.33/678 - Release Date: 2/9/2007
4:06 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.33/678 - Release Date: 2/9/2007
4:06 PM
 





More information about the wxpython-users mailing list