diff options
author | Nicolas Bacca | 2004-01-18 13:50:50 +0000 |
---|---|---|
committer | Nicolas Bacca | 2004-01-18 13:50:50 +0000 |
commit | f2f77cbfdffdd9399506b513721933bb170f9185 (patch) | |
tree | 21f06561735179ae5045d17693470e17cc6f4f54 /gui | |
parent | 4866b4fd0e8cda83010af837882441da22a35496 (diff) | |
download | scummvm-rg350-f2f77cbfdffdd9399506b513721933bb170f9185.tar.gz scummvm-rg350-f2f77cbfdffdd9399506b513721933bb170f9185.tar.bz2 scummvm-rg350-f2f77cbfdffdd9399506b513721933bb170f9185.zip |
Small tweak for the checkbox control on CE
svn-id: r12478
Diffstat (limited to 'gui')
-rw-r--r-- | gui/widget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp index 6c7f2f91f6..d05a6fd051 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -167,7 +167,11 @@ CheckboxWidget::CheckboxWidget(GuiObject *boss, int x, int y, int w, int h, cons } void CheckboxWidget::handleMouseUp(int x, int y, int button, int clickCount) { +#ifndef _WIN32_WCE if (isEnabled() && x >= 0 && x < _w && y >= 0 && y < _h) { +#else + if (isEnabled() && x >= 0 && x < 14 && y >= 0 && y < 14) { +#endif toggleState(); } } |