diff --git a/include/wx/docview.h b/include/wx/docview.h index 6f678c9b29..f8b7ea2cb7 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -580,7 +580,7 @@ protected: // a chance to process the message before the frame event handlers are used bool TryProcessEvent(wxEvent& event) { - return m_childView && m_childView->ProcessEventHere(event); + return m_childView && m_childView->ProcessEventLocally(event); } // called from EVT_CLOSE handler in the frame: check if we can close and do diff --git a/src/common/docmdi.cpp b/src/common/docmdi.cpp index c8911d606a..0767a62104 100644 --- a/src/common/docmdi.cpp +++ b/src/common/docmdi.cpp @@ -70,7 +70,7 @@ void wxDocMDIParentFrame::OnMRUFile(wxCommandEvent& event) bool wxDocMDIParentFrame::TryBefore(wxEvent& event) { - if ( m_docManager && m_docManager->ProcessEventHere(event) ) + if ( m_docManager && m_docManager->ProcessEventLocally(event) ) return true; return wxMDIParentFrame::TryBefore(event); diff --git a/src/common/docview.cpp b/src/common/docview.cpp index 64315afb60..335265e02c 100644 --- a/src/common/docview.cpp +++ b/src/common/docview.cpp @@ -689,7 +689,7 @@ void wxView::SetDocChildFrame(wxDocChildFrameAnyBase *docChildFrame) bool wxView::TryBefore(wxEvent& event) { wxDocument * const doc = GetDocument(); - return doc && doc->ProcessEventHere(event); + return doc && doc->ProcessEventLocally(event); } void wxView::OnActivateView(bool WXUNUSED(activate), @@ -1252,7 +1252,7 @@ wxView *wxDocManager::GetActiveView() const bool wxDocManager::TryBefore(wxEvent& event) { wxView * const view = GetActiveView(); - return view && view->ProcessEventHere(event); + return view && view->ProcessEventLocally(event); } namespace @@ -1970,7 +1970,7 @@ void wxDocParentFrame::OnMRUFile(wxCommandEvent& event) // Extend event processing to search the view's event table bool wxDocParentFrame::TryBefore(wxEvent& event) { - if ( m_docManager && m_docManager->ProcessEventHere(event) ) + if ( m_docManager && m_docManager->ProcessEventLocally(event) ) return true; return wxFrame::TryBefore(event);