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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user