diff options
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index c87606dd..ca2ceb98 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -704,7 +704,8 @@ void Layout::draw (View *view, Rectangle *area) widgetDrawArea.width = intersection.width; widgetDrawArea.height = intersection.height; - topLevel->drawToplevel (view, &widgetDrawArea); + DrawingContext context (&widgetArea); + topLevel->draw (view, &widgetDrawArea, &context); view->finishDrawing (&intersection); } |