From 15971ac9850ff125b444443dd2b085a261a55029 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 3 Jun 2014 09:16:32 +0300 Subject: WaE: 'setFlipped' is deprecated: first deprecated in OS X 10.6 Not sure if using lockFocusFlipped: has the same effect, but will see... Change-Id: I957874bcf59c2c521bd5b2b2ca6f44fb0400e64f --- vcl/aqua/source/app/salinst.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx index 4f21fc58997a..6ed4c88c237d 100644 --- a/vcl/aqua/source/app/salinst.cxx +++ b/vcl/aqua/source/app/salinst.cxx @@ -1189,8 +1189,7 @@ NSImage* CreateNSImage( const Image& rImage ) NSImage* pImage = [[NSImage alloc] initWithSize: NSMakeSize( aSize.Width(), aSize.Height() )]; if( pImage ) { - [pImage setFlipped: YES]; - [pImage lockFocus]; + [pImage lockFocusFlipped:YES]; NSGraphicsContext* pContext = [NSGraphicsContext currentContext]; CGContextRef rCGContext = reinterpret_cast([pContext graphicsPort]); -- cgit v1.2.3