diff options
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r-- | src/gui/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp index 158e9272..0228e183 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -126,7 +126,7 @@ void Window::draw(gcn::Graphics* graphics) int x, y; getAbsolutePosition(x, y); - ((Graphics*)graphics)->drawImageRect(x, y, getWidth(), getHeight(), + dynamic_cast<Graphics*>(graphics)->drawImageRect(x, y, getWidth(), getHeight(), border); // Draw title |