aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-03-11 23:40:40 +0000
committerMax Horn2010-03-11 23:40:40 +0000
commit6e78fdc161501ed6d2be0e4004915b3660623647 (patch)
tree734d60a9da9e01c08619a3c8e80775980341ada4
parent77fc15ce825963dc736aabdfd11628cdb26fd300 (diff)
downloadscummvm-rg350-6e78fdc161501ed6d2be0e4004915b3660623647.tar.gz
scummvm-rg350-6e78fdc161501ed6d2be0e4004915b3660623647.tar.bz2
scummvm-rg350-6e78fdc161501ed6d2be0e4004915b3660623647.zip
cleanup
svn-id: r48240
-rw-r--r--gui/GuiManager.cpp2
-rw-r--r--gui/widget.h2
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(); }