projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed incorrect param from docs
[wxWidgets.git]
/
src
/
common
/
docmdi.cpp
diff --git
a/src/common/docmdi.cpp
b/src/common/docmdi.cpp
index 6ce731631bdc7d559f4d2b63bfeec88d33967951..78da575af50b1922f537aaded1c518f1c0391a9c 100644
(file)
--- a/
src/common/docmdi.cpp
+++ b/
src/common/docmdi.cpp
@@
-50,8
+50,8
@@
void wxDocMDIParentFrame::OnExit(wxCommandEvent& WXUNUSED(event))
void wxDocMDIParentFrame::OnMRUFile(wxCommandEvent& event)
{
void wxDocMDIParentFrame::OnMRUFile(wxCommandEvent& event)
{
- wxString f(m_docManager->GetHistoryFile(event.Get
Selection
() - wxID_FILE1));
- if (f !=
_
T(""))
+ wxString f(m_docManager->GetHistoryFile(event.Get
Id
() - wxID_FILE1));
+ if (f !=
wx
T(""))
(void)m_docManager->CreateDocument(f, wxDOC_SILENT);
}
(void)m_docManager->CreateDocument(f, wxDOC_SILENT);
}