diff options
Diffstat (limited to 'backends/platform/wince/CEgui/ItemAction.cpp')
-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 |