[fixed] MessageBox buttons bug in v1.3
Posted: Sat May 05, 2007 11:08 am
Hi,
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:
1. Click on the yes-button => nothing happens.
2. Click again on the yes-button => the window closes.
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.