Replace direct calls to ProcessEvent() with

GetEventHandler()->ProcessEvent().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2007-04-09 16:43:23 +00:00
parent e9793aef3c
commit eafd76b02c
6 changed files with 14 additions and 14 deletions

View File

@@ -549,7 +549,7 @@ void wxButtonToolBar::OnLeftUp(wxMouseEvent& event)
{
wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, tool->GetId());
event.SetEventObject(tool->GetButton());
if (!ProcessEvent(event))
if (!GetEventHandler()->ProcessEvent(event))
event.Skip();
}
}