From: Vadim Zeitlin Date: Fri, 8 Sep 2000 18:09:34 +0000 (+0000) Subject: GetSelection() replaced with GetId() in OnMRUFile X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/afdefa8e84c59e774f4d8238f782d65a4d819f26 GetSelection() replaced with GetId() in OnMRUFile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/docmdi.cpp b/src/common/docmdi.cpp index dc622fc6f5..78da575af5 100644 --- a/src/common/docmdi.cpp +++ b/src/common/docmdi.cpp @@ -50,7 +50,7 @@ void wxDocMDIParentFrame::OnExit(wxCommandEvent& WXUNUSED(event)) void wxDocMDIParentFrame::OnMRUFile(wxCommandEvent& event) { - wxString f(m_docManager->GetHistoryFile(event.GetSelection() - wxID_FILE1)); + wxString f(m_docManager->GetHistoryFile(event.GetId() - wxID_FILE1)); if (f != wxT("")) (void)m_docManager->CreateDocument(f, wxDOC_SILENT); }