aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorNicolas Bacca2004-01-26 07:35:31 +0000
committerNicolas Bacca2004-01-26 07:35:31 +0000
commitbb3a9e4cb308c8353f77b424445b5df23040340a (patch)
tree62a4f43377c7ed368270c1ed4b251c93e8b42c0f /gui
parente17ae4de3ab98558e59f96057a0c696df3eecf82 (diff)
downloadscummvm-rg350-bb3a9e4cb308c8353f77b424445b5df23040340a.tar.gz
scummvm-rg350-bb3a9e4cb308c8353f77b424445b5df23040340a.tar.bz2
scummvm-rg350-bb3a9e4cb308c8353f77b424445b5df23040340a.zip
Undo old tweak not necessary anymore
svn-id: r12603
Diffstat (limited to 'gui')
-rw-r--r--gui/ListWidget.cpp6
-rw-r--r--gui/newgui.cpp5
2 files changed, 4 insertions, 7 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp
index af38688eba..afd7d37b15 100644
--- a/gui/ListWidget.cpp
+++ b/gui/ListWidget.cpp
@@ -218,10 +218,8 @@ bool ListWidget::handleKeyDown(uint16 ascii, int keycode, int modifiers) {
_scrollBar->draw();
}
-#if !defined(_WIN32_WCE) && !defined(__PALM_OS__)
- // not done on WinCE / PalmOS because keyboard is emulated and
- // keyup is not generated
-
+#if !defined(__PALM_OS__)
+ // not done on PalmOS because keyboard is emulated and keyup is not generated
_currentKeyDown = keycode;
#endif
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 5a7e5dfbd8..ed60deb024 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -155,10 +155,9 @@ void NewGui::runLoop() {
while (_system->poll_event(&event)) {
switch (event.event_code) {
case OSystem::EVENT_KEYDOWN:
-#if !defined(_WIN32_WCE) && !defined(__PALM_OS__)
+#if !defined(__PALM_OS__)
// init continuous event stream
- // not done on WinCE because keyboard is emulated and
- // keyup is not generated
+ // not done on PalmOS because keyboard is emulated and keyup is not generated
_currentKeyDown.ascii = event.kbd.ascii;
_currentKeyDown.keycode = event.kbd.keycode;
_currentKeyDown.flags = event.kbd.flags;