canvas::NasalWidget: ensure nasal part is destroyed
This commit is contained in:
parent
bb5e07d958
commit
9ffc0ae8bc
@ -33,6 +33,12 @@ namespace canvas
|
||||
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
NasalWidget::~NasalWidget()
|
||||
{
|
||||
onRemove();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
void NasalWidget::invalidate()
|
||||
{
|
||||
|
@ -49,6 +49,8 @@ namespace canvas
|
||||
*/
|
||||
NasalWidget(naRef impl);
|
||||
|
||||
~NasalWidget();
|
||||
|
||||
virtual void invalidate();
|
||||
virtual void setGeometry(const SGRecti& geom);
|
||||
virtual void onRemove();
|
||||
|
Loading…
Reference in New Issue
Block a user