This adds some resource-ownership tracking.

Time to start spreading this out, more.
This commit is contained in:
2025-03-03 13:26:36 -05:00
parent a36901db50
commit fad3dbc39a
11 changed files with 47 additions and 43 deletions

View File

@ -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);