RE: [gtkmm] textbuffer's signal_erase



> From: Joshua A Gagnon [mailto:gagnon WPI EDU] 
> Much googling
> couldn't find a way to subclass something with a RefPtr. I 
> got stuff that
> compiled, but didn't seem to do anything. A cout statement in the
> destructor didn't even fire. It seems like I need to override 
> the create()
> method,

Yes, that's very simple - you can look at an existing create() method. It
should just do a new. The constructor should be protected, so that everyone
must use create().

Murray Cumming
murrayc usa net
www.murrayc.com 



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