void ProjectFrame::CloseItem() { ProjectItem *itm = prjTree->GetSelectedNode(); if (itm) itm->CloseItem(); }