> You are perfectly right. When deriving from a class, the destructor should > always be virtual in order to call the destructor of the base class.
Hrm... I'd understand it the other way around: it should be virtual so that the correct (of the derived class) destructor is called when the object is destroyed by the framework (probably a call via a pointer to a base class). But the net effect is the same ! :-) -- GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
