Fix problem in PopupFrame::onProcessMessage() where key-pressed events

are lost when the popup frame is focused.
This commit is contained in:
David Capello 2011-07-01 00:25:51 -03:00
parent 96d263f50e
commit c2881f24c9

View File

@ -103,8 +103,9 @@ bool PopupFrame::onProcessMessage(Message* msg)
msg->key.scancode == KEY_ENTER ||
msg->key.scancode == KEY_ENTER_PAD)) {
closeWindow(NULL);
}
return false;
}
break;
case JM_BUTTONPRESSED:
// If the user click outside the window, we have to close the