diff options
author | Kostas Nakos | 2007-04-28 17:24:54 +0000 |
---|---|---|
committer | Kostas Nakos | 2007-04-28 17:24:54 +0000 |
commit | 1337ce8296d84496a2cabd5e58b86274bcb326a2 (patch) | |
tree | e4c6c85fcff80ea010f760e9ed7d59de055e2585 /backends/platform/wince/CEgui | |
parent | 9bf84a30ef5c55f72a9a7df0ed9b359be9e124e8 (diff) | |
download | scummvm-rg350-1337ce8296d84496a2cabd5e58b86274bcb326a2.tar.gz scummvm-rg350-1337ce8296d84496a2cabd5e58b86274bcb326a2.tar.bz2 scummvm-rg350-1337ce8296d84496a2cabd5e58b86274bcb326a2.zip |
insert key up events for synthetic events
svn-id: r26654
Diffstat (limited to 'backends/platform/wince/CEgui')
-rw-r--r-- | backends/platform/wince/CEgui/ItemAction.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/wince/CEgui/ItemAction.cpp b/backends/platform/wince/CEgui/ItemAction.cpp index 9bc9db65bb..7010d85ec0 100644 --- a/backends/platform/wince/CEgui/ItemAction.cpp +++ b/backends/platform/wince/CEgui/ItemAction.cpp @@ -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 |