Not sure, but you can try to use virtual Destructor of SWidget (SCompoundWidget is not overriding it)
virtual ~SWidget();
Not sure, but you can try to use virtual Destructor of SWidget (SCompoundWidget is not overriding it)
virtual ~SWidget();