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 4038ddb70024811d9f165641f98f6c15e80c5063..78da575af50b1922f537aaded1c518f1c0391a9c 100644
(file)
--- a/
src/common/docmdi.cpp
+++ b/
src/common/docmdi.cpp
@@
-20,7
+20,7
@@
#pragma hdrstop
#endif
#pragma hdrstop
#endif
-#if wxUSE_DOC_VIEW_ARCHITECTURE
+#if wxUSE_
MDI_ARCHITECTURE && wxUSE_
DOC_VIEW_ARCHITECTURE
#include "wx/docmdi.h"
#include "wx/docmdi.h"
@@
-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);
}