-/*
-// Intercept menu commands
-void wxDocParentFrame::OldOnMenuCommand(int id)
-{
- switch (id)
- {
- case wxID_EXIT:
- {
- Close();
- break;
- }
- case wxID_FILE1:
- case wxID_FILE2:
- case wxID_FILE3:
- case wxID_FILE4:
- case wxID_FILE5:
- case wxID_FILE6:
- case wxID_FILE7:
- case wxID_FILE8:
- case wxID_FILE9:
- {
- wxString f(m_docManager->GetHistoryFile(id-wxID_FILE1));
- if (f != "")
- (void)m_docManager->CreateDocument(f, wxDOC_SILENT);
- break;
- }
- default:
- {
- m_docManager->OldOnMenuCommand(id);
- }
- }
-}
-*/
-