summaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/layout.cc')
-rw-r--r--dw/layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index 60cea8e0..43c27dd8 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -704,7 +704,7 @@ void Layout::draw (View *view, Rectangle *area)
widgetDrawArea.width = intersection.width;
widgetDrawArea.height = intersection.height;
- topLevel->draw (view, &widgetDrawArea);
+ topLevel->drawToplevel (view, &widgetDrawArea);
view->finishDrawing (&intersection);
}