diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/dialogs.cpp | 13 | ||||
-rw-r--r-- | scumm/dialogs.h | 3 |
2 files changed, 4 insertions, 12 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index c8bc1d3b93..51629a7bdf 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -333,6 +333,10 @@ void SaveLoadDialog::open() { switchToLoadMode(); +#ifdef _WIN32_WCE + force_keyboard(true); +#endif + ScummDialog::open(); } @@ -391,15 +395,6 @@ void SaveLoadDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat } } -void SaveLoadDialog::open() { - - ScummDialog::open(); - -#ifdef _WIN32_WCE - force_keyboard(true); -#endif -} - void SaveLoadDialog::close() { ScummDialog::close(); diff --git a/scumm/dialogs.h b/scumm/dialogs.h index a0a0164ade..73a9678a1e 100644 --- a/scumm/dialogs.h +++ b/scumm/dialogs.h @@ -50,9 +50,6 @@ protected: class SaveLoadDialog : public ScummDialog { public: SaveLoadDialog(NewGui *gui, Scumm *scumm); - - virtual void open(); - virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); virtual void open(); virtual void close(); |