Re: where is error?
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: where is error?
- Date: Mon, 7 Aug 2006 20:44:15 +0300
Murray Cumming wrote:
> Gtk::RadioAction must be used via a RefPtr, obtained via its create()
> function. The same is true for derived classes, so you'll need to add a
> create() function that returns a RefPtr.
This certainly won't help anything since the crash happens when the
constructor is executed. Creating a RefPtr _afterwards_ won't change
anything. Calling Gtk::RadioAction::create () creates Gtk::RadioAction,
not an object of the derived class. So, it seems to be impossible to
derive from Gtk::RadioAction at all, at least with Gtkmm 2.4.10.
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]