GetEventHandler()-> was missing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-05-29 19:02:04 +00:00
parent 0f3a8b518b
commit d42aedcaca
2 changed files with 4 additions and 4 deletions

View File

@@ -621,7 +621,7 @@ void wxNotebook::OnMouse( wxMouseEvent &event )
wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId, wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId,
::GetControl32BitValue(control) - 1, m_nSelection); ::GetControl32BitValue(control) - 1, m_nSelection);
changing.SetEventObject(this); changing.SetEventObject(this);
ProcessEvent(changing); GetEventHandler()->ProcessEvent(changing);
if(changing.IsAllowed()) if(changing.IsAllowed())
{ {
@@ -633,7 +633,7 @@ void wxNotebook::OnMouse( wxMouseEvent &event )
::GetControl32BitValue(control) - 1, m_nSelection); ::GetControl32BitValue(control) - 1, m_nSelection);
event.SetEventObject(this); event.SetEventObject(this);
ProcessEvent(event); GetEventHandler()->ProcessEvent(event);
} }
} }
} }

View File

@@ -621,7 +621,7 @@ void wxNotebook::OnMouse( wxMouseEvent &event )
wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId, wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId,
::GetControl32BitValue(control) - 1, m_nSelection); ::GetControl32BitValue(control) - 1, m_nSelection);
changing.SetEventObject(this); changing.SetEventObject(this);
ProcessEvent(changing); GetEventHandler()->ProcessEvent(changing);
if(changing.IsAllowed()) if(changing.IsAllowed())
{ {
@@ -633,7 +633,7 @@ void wxNotebook::OnMouse( wxMouseEvent &event )
::GetControl32BitValue(control) - 1, m_nSelection); ::GetControl32BitValue(control) - 1, m_nSelection);
event.SetEventObject(this); event.SetEventObject(this);
ProcessEvent(event); GetEventHandler()->ProcessEvent(event);
} }
} }
} }