Fixed relaying of wxEVT_MOUSEWHEEL to popup control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1637,7 +1637,7 @@ void wxComboCtrlBase::HandleNormalMouseEvent( wxMouseEvent& event )
|
|||||||
{
|
{
|
||||||
// relay (some) mouse events to the popup
|
// relay (some) mouse events to the popup
|
||||||
if ( evtType == wxEVT_MOUSEWHEEL )
|
if ( evtType == wxEVT_MOUSEWHEEL )
|
||||||
m_popup->AddPendingEvent(event);
|
m_popup->GetEventHandler()->AddPendingEvent(event);
|
||||||
}
|
}
|
||||||
else if ( evtType )
|
else if ( evtType )
|
||||||
event.Skip();
|
event.Skip();
|
||||||
|
Reference in New Issue
Block a user