[PyQt] Odd sip error with sip wrap instance
Eric Yen
eric at ericyen.com
Thu Apr 2 17:27:24 BST 2015
Hi,
I have a C++ pointer that I want to wrap in to python.
I got the address of the pointer from ctypes. Then I cal sip.wrapinstance,
and I get this really odd error:
TypeError: must be sip.wrappertype, not sip.wrappertype
I'm using the wxPython package, and I get the error when I try to run the
command
sip.wrapinstance(a,wx.MemoryDC)
Any suggestions on what I could try?
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150402/32e15323/attachment.html>
More information about the PyQt
mailing list