Re: Problem with sigc::bind



Normally, you tell sigc::bind via the first template argument which argument to bind to and not what type. I do not know whether there is some magic to decide whether to interpret this argument as type or argument number, but you may also try this:

m_TreeView.signal_row_activated().connect(
	sigc::bind(
		sigc::mem_fun(*this, &ComInfo::on_company_activated),
		sigc::ref(window)
	)
);

 -- armin



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