From d42aedcacab4d8249c9d0169f0fcdd30dcc45f67 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 29 May 2003 19:02:04 +0000 Subject: [PATCH] GetEventHandler()-> was missing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/notebmac.cpp | 4 ++-- src/mac/notebmac.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mac/carbon/notebmac.cpp b/src/mac/carbon/notebmac.cpp index 17b7476383..081085cc8e 100644 --- a/src/mac/carbon/notebmac.cpp +++ b/src/mac/carbon/notebmac.cpp @@ -621,7 +621,7 @@ void wxNotebook::OnMouse( wxMouseEvent &event ) wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId, ::GetControl32BitValue(control) - 1, m_nSelection); changing.SetEventObject(this); - ProcessEvent(changing); + GetEventHandler()->ProcessEvent(changing); if(changing.IsAllowed()) { @@ -633,7 +633,7 @@ void wxNotebook::OnMouse( wxMouseEvent &event ) ::GetControl32BitValue(control) - 1, m_nSelection); event.SetEventObject(this); - ProcessEvent(event); + GetEventHandler()->ProcessEvent(event); } } } diff --git a/src/mac/notebmac.cpp b/src/mac/notebmac.cpp index 17b7476383..081085cc8e 100644 --- a/src/mac/notebmac.cpp +++ b/src/mac/notebmac.cpp @@ -621,7 +621,7 @@ void wxNotebook::OnMouse( wxMouseEvent &event ) wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId, ::GetControl32BitValue(control) - 1, m_nSelection); changing.SetEventObject(this); - ProcessEvent(changing); + GetEventHandler()->ProcessEvent(changing); if(changing.IsAllowed()) { @@ -633,7 +633,7 @@ void wxNotebook::OnMouse( wxMouseEvent &event ) ::GetControl32BitValue(control) - 1, m_nSelection); event.SetEventObject(this); - ProcessEvent(event); + GetEventHandler()->ProcessEvent(event); } } }