wxCustomDataObject

Efraín López tecnomaya at cabsagt.com
Sun Oct 1 18:09:33 PDT 2006


Hi, I create MyCustomDataObject derived from wxCustomDataObject,
I tried to overload the fuction

virtual void SetData( size_t size, const void *data)

but I got
error C2555: 'CpymeNotebookDataObject::SetData': overriding virtual functio=
n return type differs and is not covariant from 'wxCustomDataObject::SetDat=
a'

So, maybe documentation is wrong and it has to be:

virtual bool SetData( size_t size, const void *data)

regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20061001/5cb=
26d4f/attachment.htm


More information about the wx-users mailing list