diff options
-rw-r--r-- | scumm/dialogs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 3b26e98316..e77142a073 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -55,6 +55,7 @@ using GUI::WIDGET_ENABLED; typedef GUI::OptionsDialog GUI_OptionsDialog; typedef GUI::ChooserDialog GUI_ChooserDialog; +typedef GUI::Dialog GUI_Dialog; namespace Scumm { @@ -656,9 +657,7 @@ void ValueDisplayDialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) } void ValueDisplayDialog::open() { -#ifndef _WIN32_WCE - GUI::Dialog::open(); -#endif + GUI_Dialog::open(); setResult(_value); _timer = getMillis() + kDisplayDelay; } |