// 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
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);
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),
bool wxDocManager::TryBefore(wxEvent& event)
{
wxView * const view = GetActiveView();
- return view && view->ProcessEventHere(event);
+ return view && view->ProcessEventLocally(event);
}
namespace
// 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);