NavEvent.SetWindowChange(false);
// Get the parent of the combo and have it process the navigation?
- if (m_cb->GetParent()->GetEventHandler()->ProcessEvent(NavEvent))
+ if (m_cb->GetParent()->HandleWindowEvent(NavEvent))
return;
}
// send the event to the combobox class in case the user has bound EVT_CHAR
wxKeyEvent kevt(event);
kevt.SetEventObject(m_cb);
- if (m_cb->GetEventHandler()->ProcessEvent(kevt))
+ if (m_cb->HandleWindowEvent(kevt))
// If the event was handled and not skipped then we're done
return;
// This will invoke the dialog default action,
// such as the clicking the default button.
- if (!m_cb->GetEventHandler()->ProcessEvent( event ))
+ if (!m_cb->HandleWindowEvent( event ))
{
wxTopLevelWindow *tlw = wxDynamicCast(wxGetTopLevelParent(this), wxTopLevelWindow);
if ( tlw && tlw->GetDefaultItem() )
{
event.SetEventObject(m_cb);
event.SetId(m_cb->GetId());
- if (! m_cb->GetEventHandler()->ProcessEvent(event))
+ if (! m_cb->HandleWindowEvent(event))
event.Skip();
}
{
event.SetEventObject(m_cb);
event.SetId(m_cb->GetId());
- if (! m_cb->GetEventHandler()->ProcessEvent(event))
+ if (! m_cb->HandleWindowEvent(event))
event.Skip();
}
{
event.SetEventObject(m_cb);
event.SetId(m_cb->GetId());
- if (! m_cb->GetEventHandler()->ProcessEvent(event))
+ if (! m_cb->HandleWindowEvent(event))
event.Skip();
}