From afdefa8e84c59e774f4d8238f782d65a4d819f26 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 8 Sep 2000 18:09:34 +0000 Subject: [PATCH] GetSelection() replaced with GetId() in OnMRUFile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/docmdi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.45.2