]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/tdocview.tex
fixed a few typoes
[wxWidgets.git] / docs / latex / wx / tdocview.tex
index 0e569ca94cb05932b6d5a1dba335949719d92ffc..6d5be945f443a74cd897832bf2b07be47b330e14 100644 (file)
@@ -271,7 +271,7 @@ void wxDocParentFrame::OnExit(wxCommandEvent& WXUNUSED(event))
 
 void wxDocParentFrame::OnMRUFile(wxCommandEvent& event)
 {
-      wxString f(m_docManager->GetHistoryFile(event.GetSelection() - wxID_FILE1));
+      wxString f(m_docManager->GetHistoryFile(event.GetId() - wxID_FILE1));
       if (f != "")
         (void)m_docManager->CreateDocument(f, wxDOC_SILENT);
 }