if(e != NULL)
e->remove();
}*/
+
if(m_tooltip_element)
{
m_tooltip_element->remove();
+ m_tooltip_element->drop();
m_tooltip_element = NULL;
}
+
}
void GUIFormSpecMenu::setInitialFocus()
m_tooltip_element->setOverrideColor(video::SColor(255,255,255,255));
m_tooltip_element->setTextAlignment(gui::EGUIA_CENTER, gui::EGUIA_CENTER);
m_tooltip_element->setWordWrap(false);
+ //we're not parent so no autograb for this one!
+ m_tooltip_element->grab();
}
//set initial focus if parser didn't set it