+ if (last_selected)
+ if (s != last_selected)
+ last_selected->SetSelected (false);
+ last_selected = s;
+ m_signal_selected (data, num, this);
+}
+
+void ViewNode::on_item_activated (BTreeData *data, ViewBTreeData *s)
+{
+ /* Solo activo los que tienen hijos */
+ if (dynamic_cast<BTreeLeafData *> (data) == NULL)
+ m_signal_activated (data, num, this);