diff options
-rw-r--r-- | engines/wage/gui.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index 377816b448..04419d5eea 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -148,7 +148,9 @@ Gui::Gui(WageEngine *engine) { _inputTextLineNum = 0; +#ifndef USE_MACTEXTWINDOW g_system->getTimerManager()->installTimerProc(&cursorTimerHandler, 200000, this, "wageCursor"); +#endif _menu = _wm.addMenu(); @@ -194,7 +196,10 @@ Gui::Gui(WageEngine *engine) { Gui::~Gui() { _screen.free(); _console.free(); + +#ifndef USE_MACTEXTWINDOW g_system->getTimerManager()->removeTimerProc(&cursorTimerHandler); +#endif } void Gui::undrawCursor() { |