On Fri, 2005-04-22 at 20:56 -0600, Phillip Neiswanger wrote:
> Hello,
> 
> I was wondering why the Gnome::Main destructor is not virtual.

It is virtual, because Gnome::Main inherits from Gtk::Main, which has a
virtual destructor. However, Gtk::Main inherits from sigc::trackable,
which does not, so you can delete a Gnome::Main from a Gtk::Main*, but
not from a sigc::trackable*.

-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

_______________________________________________
gnomemm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnomemm-list

Reply via email to