OSDN Git Service

Remove unused OnInitMenu() function from CMainFrame.
authorKimmo Varis <kimmov@gmail.com>
Fri, 20 Jul 2007 17:27:33 +0000 (17:27 +0000)
committerKimmo Varis <kimmov@gmail.com>
Fri, 20 Jul 2007 17:27:33 +0000 (17:27 +0000)
Src/MainFrm.cpp
Src/MainFrm.h

index 785fdec..8741219 100644 (file)
@@ -3293,9 +3293,3 @@ void CMainFrame::OnUpdateToolbarBig(CCmdUI* pCmdUI)
        int toolbar = GetOptionsMgr()->GetInt(OPT_TOOLBAR_SIZE);
        pCmdUI->SetRadio(enabled && toolbar == 1);
 }
-
-void CMainFrame::OnInitMenu(CMenu *pMenu)
-{
-               CMergeApp* pApp = (CMergeApp*)AfxGetApp();
-               //pApp->UpdateMRUMenu(pMenu);
-}
index 0df02b5..e270a90 100644 (file)
@@ -232,7 +232,6 @@ protected:
        //{{AFX_MSG(CMainFrame)
        afx_msg void OnMeasureItem(int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct);
        afx_msg LRESULT OnMenuChar(UINT nChar, UINT nFlags, CMenu* pMenu) ;
-       afx_msg void OnInitMenu(CMenu* pMenu);
        afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
        afx_msg void OnOptionsShowDifferent();
        afx_msg void OnOptionsShowIdentical();