diff --git a/src/gui/osutils/macutils/AppKitImpl.mm b/src/gui/osutils/macutils/AppKitImpl.mm index 8e62354c7d..5092790d88 100644 --- a/src/gui/osutils/macutils/AppKitImpl.mm +++ b/src/gui/osutils/macutils/AppKitImpl.mm @@ -22,6 +22,7 @@ #if __clang_major__ >= 13 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_12_3 #import #endif + @implementation AppKitImpl - (id) initWithObject:(AppKit*)appkit @@ -183,7 +184,7 @@ - (bool) enableAccessibility // // Check if screen recording is enabled, may show an popup asking for permissions // -- (bool)enableScreenRecording +- (bool) enableScreenRecording { #if __clang_major__ >= 13 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_12_3 __block BOOL hasPermission = NO;