<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY bottomMargin=0 leftMargin=3 topMargin=0 rightMargin=3>
<DIV><FONT face="Courier New" size=2>Hello,</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>For some reason unclear to me, it seems I
have fixed the problem by adding this line</FONT></DIV>
<DIV>
<P><FONT face="Courier New" size=2>virtual const char *GetClassName() const
{return "vtkPickCommand";}; </FONT></P>
<P><FONT face="Courier New" size=2>to my subclass. I should have mentioned that
I am using wxWindows as well (with Mathieu Malaterre's
wxVTKRenderWindowInteractor)...<BR><BR>BTW, in Cone6.cxx in the tutorial, the
callback->Delete() should either be called after the deletion of the caller
object, or should not be called at all, as implied in the user's guide (p.31).
That seems to eliminate an error when closing the program on Windows (VC++
6).</FONT><FONT face="Courier New"
size=2><BR><BR>Thanks!<BR><BR>Daniel</FONT></P></DIV></BODY></HTML>