Re: Gnome::Main destructor
- From: Murray Cumming <murrayc murrayc com>
- To: Phillip Neiswanger <sigsegv prodigy net>
- Cc: gnomemm-list <gnomemm-list gnome org>
- Subject: Re: Gnome::Main destructor
- Date: Wed, 04 May 2005 18:07:52 +0200
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
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]