Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/widget.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget.cc b/src/ui/widget.cc
index 9ae2f32..4812b1f 100644
--- a/src/ui/widget.cc
+++ b/src/ui/widget.cc
@@ -449,6 +449,8 @@ void Widget::event_draw()
if (widget_background)
draw_background();
+
+ draw();
for (Children::iterator it = widget_children.begin(); it != widget_children.end(); it++) {
if ((*it)->visible())
@@ -460,8 +462,6 @@ void Widget::event_draw()
if (debug())
draw_debug();
-
- draw();
}
void Widget::event_resize()