aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bacca2004-02-24 21:27:02 +0000
committerNicolas Bacca2004-02-24 21:27:02 +0000
commit47c167a594c172cbf0f8169b24d9a328c2026a29 (patch)
tree7d49732a595c159b4280c88b6487856f220fdc76
parent03b25aaf828b4646b2410df38b09e7eb5e794e88 (diff)
downloadscummvm-rg350-47c167a594c172cbf0f8169b24d9a328c2026a29.tar.gz
scummvm-rg350-47c167a594c172cbf0f8169b24d9a328c2026a29.tar.bz2
scummvm-rg350-47c167a594c172cbf0f8169b24d9a328c2026a29.zip
Fix hide toolbar
svn-id: r13029
-rw-r--r--backends/wince/CEgui/Panel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/wince/CEgui/Panel.cpp b/backends/wince/CEgui/Panel.cpp
index 2c7514af09..fc1b8d28d3 100644
--- a/backends/wince/CEgui/Panel.cpp
+++ b/backends/wince/CEgui/Panel.cpp
@@ -64,7 +64,7 @@ namespace CEGUI {
bool Panel::action(int x, int y, bool pushed) {
ItemMap::const_iterator iterator;
bool result = false;
- if (!checkInside(x, y))
+ if (!_visible || !checkInside(x, y))
return false;
for (iterator = _itemsMap.begin(); !result && iterator != _itemsMap.end(); ++iterator)
@@ -79,4 +79,4 @@ namespace CEGUI {
Panel::~Panel() {
_itemsMap.clear();
}
-} \ No newline at end of file
+}