82 + icon_texture_->texture_updated.connect([&] (nux::BaseTexture *texture) 83 + { 84 + if (parent_) 85 + parent_->NeedRedraw(); 86 + });
Please, disconnect this on destroy (with a sigc::connection or using sigc::mem_fun) ;)
« Back to merge proposal
82 + icon_texture_ ->texture_ updated. connect( [&] (nux::BaseTexture *texture) ->NeedRedraw( );
83 + {
84 + if (parent_)
85 + parent_
86 + });
Please, disconnect this on destroy (with a sigc::connection or using sigc::mem_fun) ;)