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:
@@ -338,6 +338,7 @@ static void SetupMouseEvent( wxMouseEvent &wxevent , wxMacCarbonEvent &cEvent )
|
|||||||
}
|
}
|
||||||
break ;
|
break ;
|
||||||
case kEventMouseWheelMoved :
|
case kEventMouseWheelMoved :
|
||||||
|
{
|
||||||
wxevent.SetEventType(wxEVT_MOUSEWHEEL ) ;
|
wxevent.SetEventType(wxEVT_MOUSEWHEEL ) ;
|
||||||
|
|
||||||
// EventMouseWheelAxis axis = cEvent.GetParameter<EventMouseWheelAxis>(kEventParamMouseWheelAxis, typeMouseWheelAxis) ;
|
// EventMouseWheelAxis axis = cEvent.GetParameter<EventMouseWheelAxis>(kEventParamMouseWheelAxis, typeMouseWheelAxis) ;
|
||||||
@@ -347,6 +348,7 @@ static void SetupMouseEvent( wxMouseEvent &wxevent , wxMacCarbonEvent &cEvent )
|
|||||||
wxevent.m_wheelDelta = 1;
|
wxevent.m_wheelDelta = 1;
|
||||||
wxevent.m_linesPerAction = 1;
|
wxevent.m_linesPerAction = 1;
|
||||||
break ;
|
break ;
|
||||||
|
}
|
||||||
default :
|
default :
|
||||||
wxevent.SetEventType(wxEVT_MOTION ) ;
|
wxevent.SetEventType(wxEVT_MOTION ) ;
|
||||||
break ;
|
break ;
|
||||||
|
Reference in New Issue
Block a user