Re: where is error?

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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]