diff options
-rw-r--r-- | gui/GuiManager.cpp | 2 | ||||
-rw-r--r-- | gui/widget.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/gui/GuiManager.cpp b/gui/GuiManager.cpp index 8cf71a1331..931c3078b3 100644 --- a/gui/GuiManager.cpp +++ b/gui/GuiManager.cpp @@ -440,7 +440,7 @@ void GuiManager::animateCursor() { bool GuiManager::checkScreenChange() { int tmpScreenChangeID = _system->getScreenChangeID(); if (_lastScreenChangeID != tmpScreenChangeID) { - GuiManager::screenChange(); + screenChange(); return true; } return false; diff --git a/gui/widget.h b/gui/widget.h index 95f146a414..ebadc53241 100644 --- a/gui/widget.h +++ b/gui/widget.h @@ -120,8 +120,6 @@ public: virtual bool handleKeyUp(Common::KeyState state) { return false; } // Return true if the event was handled virtual void handleTickle() {} - virtual void reflowLayout() { GuiObject::reflowLayout(); } - void draw(); void receivedFocus() { _hasFocus = true; receivedFocusWidget(); } void lostFocus() { _hasFocus = false; lostFocusWidget(); } |