After creating messagebox using guienv->addMessageBox, the yes or no buttons don't react to the first mouse click at all. But it starts to work when you click left mouse button somewhere. The problem did not exist in version 1.1.
The bug can be reproduced easily:
Code: Select all
irr::gui::IGUIWindow *window = device->getGUIEnvironment()->addMessageBox(L"foo", L"bar",true,gui::EMBF_YES | gui::EMBF_NO, 0, 0);
2. Click again on the yes-button => the window closes.