Possible Duplicate:
When to use virtual destructors?
Possible Duplicate of When to use virtual destructors?
I was wondering if someone could help me understand the need of virtual destructors.
I have written an application with a main dialog, and from this main dialog other derived dialogs will be spawned.
Therefore, would all of these derived dialogs require a virtual destructor? or just the main dialog?
Thank you in advance