wxWindowList children = m_combo->GetPopupWindow()->GetChildren();
wxWindowList::iterator node = children.begin();
wxWindow* child = (wxWindow*)*node;
- child->GetEventHandler()->AddPendingEvent(event);
+ child->GetEventHandler()->ProcessEvent(event);
}
#if USES_GENERICTLW
if ( IsPopupShown() )
{
// relay (some) mouse events to the popup
- m_popup->GetEventHandler()->AddPendingEvent(event);
+ m_popup->GetEventHandler()->ProcessEvent(event);
}
else if ( event.GetWheelAxis() == 0 &&
event.GetWheelRotation() != 0 &&
kevent.m_keyCode = event.GetWheelRotation() > 0
? WXK_UP
: WXK_DOWN;
- GetEventHandler()->AddPendingEvent(kevent);
+ GetEventHandler()->ProcessEvent(kevent);
}
else
{
if ( IsPopupShown() )
{
// pass it to the popped up control
- GetPopupControl()->GetControl()->GetEventHandler()->AddPendingEvent(event);
+ GetPopupControl()->GetControl()->GetEventHandler()->ProcessEvent(event);
}
else // no popup
{