Added braces to remove initialisation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3413ceade8
commit
2cce9b1152
@ -338,6 +338,7 @@ static void SetupMouseEvent( wxMouseEvent &wxevent , wxMacCarbonEvent &cEvent )
|
||||
}
|
||||
break ;
|
||||
case kEventMouseWheelMoved :
|
||||
{
|
||||
wxevent.SetEventType(wxEVT_MOUSEWHEEL ) ;
|
||||
|
||||
// EventMouseWheelAxis axis = cEvent.GetParameter<EventMouseWheelAxis>(kEventParamMouseWheelAxis, typeMouseWheelAxis) ;
|
||||
@ -347,6 +348,7 @@ static void SetupMouseEvent( wxMouseEvent &wxevent , wxMacCarbonEvent &cEvent )
|
||||
wxevent.m_wheelDelta = 1;
|
||||
wxevent.m_linesPerAction = 1;
|
||||
break ;
|
||||
}
|
||||
default :
|
||||
wxevent.SetEventType(wxEVT_MOTION ) ;
|
||||
break ;
|
||||
|
Loading…
Reference in New Issue
Block a user