diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-26 15:19:22 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-26 15:19:22 +0000 |
commit | 1581b1f651c71d2633935ca131913fe168583294 (patch) | |
tree | cb211f945b1303799ec7363574cff1040c1c1d42 /src/gui/window.cpp | |
parent | a736e518012b003db5fb56ac8310c9fcd00a5c51 (diff) | |
download | mana-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.cpp | 8 |
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; |