- CGContextRef context = cEvent.GetParameter<CGContextRef>(kEventParamCGContextRef, typeCGContextRef) ;
- window->MacSetDrawingContext(context);
- result = CallNextEventHandler(handler, event);
- window->MacSetDrawingContext(NULL);
+ {
+ CGContextRef context = cEvent.GetParameter<CGContextRef>(kEventParamCGContextRef, typeCGContextRef) ;
+ window->MacSetDrawingContext(context);
+ result = CallNextEventHandler(handler, event);
+ window->MacSetDrawingContext(NULL);
+ break;
+ }