[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ui/cocoa.m: Fix macOS 10.14 deprecation warning
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] ui/cocoa.m: Fix macOS 10.14 deprecation warnings |
Date: |
Tue, 5 Feb 2019 10:08:47 +0100 |
User-agent: |
NeoMutt/20180716 |
On Thu, Jan 31, 2019 at 11:12:25PM -0800, Brendan Shanks wrote:
> macOS 10.14 deprecated NSOnState/NSOffState in favour of
> NSControlStateValueOn/NSControlStateValueOff. Use the new constants,
> and #define them to the old ones when compiling against a pre-10.13 SDK.
> Also [NSGraphicsContext graphicsPort] is now deprecated, use
> [NSGraphicsContext CGContext] when available.
Added to UI patch queue.
thanks,
Gerd