canvas::NasalWidget: ensure nasal part is destroyed

This commit is contained in:
Thomas Geymayer 2014-06-16 23:45:52 +02:00
parent bb5e07d958
commit 9ffc0ae8bc
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,12 @@ namespace canvas
}
//----------------------------------------------------------------------------
NasalWidget::~NasalWidget()
{
onRemove();
}
//----------------------------------------------------------------------------
void NasalWidget::invalidate()
{

View File

@ -49,6 +49,8 @@ namespace canvas
*/
NasalWidget(naRef impl);
~NasalWidget();
virtual void invalidate();
virtual void setGeometry(const SGRecti& geom);
virtual void onRemove();