Re: Generic Menu - HELP!!



On Fri, 2010-02-26 at 12:47 -0500, ArbolOne wrote:
> n an attempt to circumvent this problem I have written this method
> const Glib::RefPtr<Gtk::AccelGroup>& Menu::getAccelGroup(){

It's probably not wise, and it's not necessary, to return a RefPtr by
const &.

>     return this->RefUIManager->get_accel_group();
> }
> but this gives me a segmentation fault. 

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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