void CChildFrame::OnClose() 
{
// TODO: Add your message handler code here and/or call default
int a=0;
a=MessageBox("是否将所绘制的图形保存","提示",MB_YESNOCANCEL); if(a== IDYES)

    OnFileSave(); 
}
    else if(a== IDNO)
{
CMDIChildWnd::OnClose();
}
else if(a== IDCANCEL)
{
}


}
OnFileSave();是其他类中定义的一个保存文件的函数
我现在想在这个类中调用它,怎么弄?