aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ListWidget.cpp')
-rw-r--r--gui/ListWidget.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp
index 0a1d67c6fa..3efb7254aa 100644
--- a/gui/ListWidget.cpp
+++ b/gui/ListWidget.cpp
@@ -219,13 +219,11 @@ bool ListWidget::handleKeyDown(uint16 ascii, int keycode, int modifiers) {
_scrollBar->draw();
}
-#ifndef _WIN32_WCE
-
- // not done on WinCE because keyboard is emulated and
+#if !defined(_WIN32_WCE) && !defined(__PALM_OS__)
+ // not done on WinCE / PalmOS because keyboard is emulated and
// keyup is not generated
_currentKeyDown = keycode;
-
#endif
return handled;