ui/cocoa.m: Fix macOS 10.12 deprecation warnings
authorBrendan Shanks <brendan@bslabs.net>
Tue, 25 Apr 2017 06:29:52 +0000 (23:29 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Apr 2017 11:33:51 +0000 (12:33 +0100)
commit4ba967ad7454c08d7e01b047d34d0c3d98f2a10d
treec79abde5c7bd3cd96edc25736cdcdac59fb9f743
parentd77b71c2a4eb89bbf5ad6c5c023056a17fd8c514
ui/cocoa.m: Fix macOS 10.12 deprecation warnings

macOS 10.12 deprecated/replaced many AppKit constants to make naming
more consistent. Use the new constants, and #define them to the
old constants when compiling against a pre-10.12 SDK.

Signed-off-by: Brendan Shanks <brendan@bslabs.net>
Message-id: 20170425062952.99149-1-brendan@bslabs.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
ui/cocoa.m