I've got a derived IconPane which I'm trying to get to handle Drag and
Drop. In the header, I have:
static CDropIcon* CreateDropIconStream(LStream *inStream);
In the source, I have:
CDropIcon*
CDropIcon::CreateDropIconStream(
LStream *inStream)
{
return (new CDropIcon(inStream));
The linker says:Quote:}
Error : function call '__ct(int, LStream *)' does not match
'__ct(CDropIcon *const , short)'
'__ct(CDropIcon *, short, const CDropIcon &)'
CDropIcon.cp line 17 return (new CDropIcon(inStream));
Now I have another project which has a derived LWindow and uses the
exact same format as the above, but works. But for this project, it's not
working. Any ideas?
--
Noah Mittman |
Editor/Technical Director, | "You can't destroy me... I quit!!!"
Fire & Rain Productions, NYC | - Crow T. Robot, MST3K
<a href="http://www.panix.com/~nam/firerain/">