summaryrefslogtreecommitdiff
path: root/src/gui/window.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-26 15:19:22 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-26 15:19:22 +0000
commit1581b1f651c71d2633935ca131913fe168583294 (patch)
treecb211f945b1303799ec7363574cff1040c1c1d42 /src/gui/window.cpp
parenta736e518012b003db5fb56ac8310c9fcd00a5c51 (diff)
downloadmana-client-1581b1f651c71d2633935ca131913fe168583294.tar.gz
mana-client-1581b1f651c71d2633935ca131913fe168583294.tar.bz2
mana-client-1581b1f651c71d2633935ca131913fe168583294.tar.xz
mana-client-1581b1f651c71d2633935ca131913fe168583294.zip
Make sure logic method is called on the content of windows, fixes lists.
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r--src/gui/window.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp
index ac869fab..7eb8643f 100644
--- a/src/gui/window.cpp
+++ b/src/gui/window.cpp
@@ -88,6 +88,14 @@ void Window::setWindowContainer(WindowContainer *wc)
windowContainer = wc;
}
+void Window::logic()
+{
+ if (mContent != NULL)
+ {
+ mContent->logic();
+ }
+}
+
void Window::draw(gcn::Graphics* graphics)
{
int x, y;