This adds some resource-ownership tracking.
Time to start spreading this out, more.
This commit is contained in:
@ -214,7 +214,7 @@ void Widget::drawInterruption (View *view, Rectangle *area,
|
||||
DrawingContext *context)
|
||||
{
|
||||
Rectangle thisArea;
|
||||
if (intersects (layout->topLevel, context->getToplevelArea (), &thisArea))
|
||||
if (intersects (layout->topLevel.get(), context->getToplevelArea (), &thisArea))
|
||||
draw (view, &thisArea, context);
|
||||
|
||||
context->addWidgetProcessedAsInterruption (this);
|
||||
|
||||
Reference in New Issue
Block a user