insert key up events for synthetic events

svn-id: r26654
This commit is contained in:
Kostas Nakos 2007-04-28 17:24:54 +00:00
parent 9bf84a30ef
commit 1337ce8296

View File

@ -1,5 +1,5 @@
/* ScummVM - Scumm Interpreter
* Copyright (C) 2001-2006 The ScummVM project
* Copyright (C) 2001-2007 The ScummVM project
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -39,7 +39,8 @@ namespace CEGUI {
bool ItemAction::action(int x, int y, bool pushed) {
if (checkInside(x, y) && _visible && pushed) {
GUI::Actions::Instance()->perform(_action);
GUI::Actions::Instance()->perform(_action, true);
GUI::Actions::Instance()->perform(_action, false);
return true;
}
else