Removed LLUICtrl::setDoubleClickCallback and LLPanel::childSetDoubleClickCallback as they aren't used/needed and complicate things. Added LLPanel::childSetAction overload that accepts boost::singal2::signal (for boost::bind). Now using boost::function for various callbacks in LLScrollListCtrl (for boost::bind).
This commit is contained in:
@@ -60,8 +60,7 @@ BOOL LLFloaterNewIM::postBuild()
|
||||
mSelectionList = getChild<LLNameListCtrl>("user_list");
|
||||
if (mSelectionList)
|
||||
{
|
||||
mSelectionList->setDoubleClickCallback(&LLFloaterNewIM::onStart);
|
||||
mSelectionList->setCallbackUserData(this);
|
||||
mSelectionList->setDoubleClickCallback(boost::bind(&LLFloaterNewIM::onStart,this));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user