Avoid always consuming mouse wheel event in wxComboCtrl.
Allow further processing when key up/down is not handled. See #18073
This commit is contained in:
@@ -1994,7 +1994,9 @@ void wxComboCtrlBase::HandleNormalMouseEvent( wxMouseEvent& event )
|
||||
kevent.m_keyCode = event.GetWheelRotation() > 0
|
||||
? WXK_UP
|
||||
: WXK_DOWN;
|
||||
GetEventHandler()->ProcessEvent(kevent);
|
||||
|
||||
if (!GetEventHandler()->ProcessEvent(kevent))
|
||||
event.Skip();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user