Remove useless casting to CGContextRef
This is not necessary any more after the changes done in 360240a70b
(Replace deprecated methods from utilscocoa.mm (#1916), 2020-06-30).
Closes https://github.com/wxWidgets/wxWidgets/pull/1922
This commit is contained in:
parent
243f81a66e
commit
bb1c1e0fa0
@ -46,8 +46,7 @@ wxMacAutoreleasePool::~wxMacAutoreleasePool()
|
||||
|
||||
CGContextRef wxOSXGetContextFromCurrentContext()
|
||||
{
|
||||
CGContextRef context = (CGContextRef)[[NSGraphicsContext currentContext]
|
||||
CGContext];
|
||||
CGContextRef context = [[NSGraphicsContext currentContext] CGContext];
|
||||
return context;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user