On Mon, 2006-08-07 at 20:44 +0300, Paul Pogonyshev wrote: > 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.
I suggested that you try gdb or valgrind rather than that you ask me to try them for you. > Creating a RefPtr _afterwards_ won't change > anything. Calling Gtk::RadioAction::create () creates Gtk::RadioAction, > not an object of the derived class. That's why you must implement your own create() method. > So, it seems to be impossible to > derive from Gtk::RadioAction at all, at least with Gtkmm 2.4.10. If the constructor is protected (not private) then you can do this. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
