//-----------------------------------------------------------------------------------
void TutorialEditor::close ()
{
    //-- on close we need to delete the frame object.
    //-- once again we make sure that the member frame variable is set to zero before we delete it
    //-- so that calls to setParameter won't crash.
    CFrame* oldFrame = frame;
    frame = 0;
    oldFrame->forget ();
}
void CSmartelectronixDisplayEditor::close()
{
		CFrame* oldFrame = frame;
		frame = 0;
		oldFrame->forget ();
}