if(parent)
{
Container *p = parent;
- parent = 0;
+ parent = nullptr;
p->remove(*this);
}
}
catch(...)
{
// The container has not yet added the widget as its child
- parent = 0;
+ parent = nullptr;
throw;
}
}
for(top=this; top->parent; top=top->parent) ;
Root *root = dynamic_cast<Root *>(top);
if(!root)
- style = 0;
+ style = nullptr;
else
{
string sname = get_class();