From 89761300c844d45a59ee47de300dfe77f89c3a68 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 4 Jul 2020 21:03:41 +0200 Subject: [PATCH] always available with 10.11 SDK --- src/osx/cocoa/window.mm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/osx/cocoa/window.mm b/src/osx/cocoa/window.mm index 7bb550b800..1ed6cf0ade 100644 --- a/src/osx/cocoa/window.mm +++ b/src/osx/cocoa/window.mm @@ -2828,14 +2828,7 @@ bool wxWidgetCocoaImpl::ShowWithEffect(bool show, return ShowViewOrWindowWithEffect(m_wxPeer, show, effect, timeout); } -// To avoid warnings about incompatible pointer types with OS X 10.11 SDK -// we need to constrain the comparison function arguments instead of just using -// "id". -#if __has_feature(objc_kindof) typedef __kindof NSView* KindOfView; -#else -typedef id KindOfView; -#endif class CocoaWindowCompareContext {