]> git.saurik.com Git - wxWidgets.git/commitdiff
Added braces to remove initialisation error
authorJulian Smart <julian@anthemion.co.uk>
Fri, 25 Jun 2004 12:59:12 +0000 (12:59 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 25 Jun 2004 12:59:12 +0000 (12:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toplevel.cpp

index 882781e7322c6c6fac4183b503f4b6bb33fc3cfa..eae3cfaa63365cb662f0f118aa9914a68f19c68b 100644 (file)
@@ -337,7 +337,8 @@ static void SetupMouseEvent( wxMouseEvent &wxevent , wxMacCarbonEvent &cEvent )
                     break ;
             }
             break ;
-        case kEventMouseWheelMoved :
+     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 ;