fixed compile error (jump to label bypasses initialization, or
something like that...) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -154,10 +154,13 @@ static pascal OSStatus wxMacListCtrlEventHandler( EventHandlerCallRef handler ,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kEventControlDraw:
|
case kEventControlDraw:
|
||||||
CGContextRef context = cEvent.GetParameter<CGContextRef>(kEventParamCGContextRef, typeCGContextRef) ;
|
{
|
||||||
window->MacSetDrawingContext(context);
|
CGContextRef context = cEvent.GetParameter<CGContextRef>(kEventParamCGContextRef, typeCGContextRef) ;
|
||||||
result = CallNextEventHandler(handler, event);
|
window->MacSetDrawingContext(context);
|
||||||
window->MacSetDrawingContext(NULL);
|
result = CallNextEventHandler(handler, event);
|
||||||
|
window->MacSetDrawingContext(NULL);
|
||||||
|
break;
|
||||||
|
}
|
||||||
default :
|
default :
|
||||||
break ;
|
break ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user