// ----------------------------------------------------------------------------- EnterGPNameDialog::~EnterGPNameDialog() { // FIXME: what is this code for? TextBoxWidget* textCtrl = getWidget<TextBoxWidget>("textfield"); textCtrl->getIrrlichtElement()->remove(); textCtrl->clearListeners(); }