From 5449053008d21972742cbc9b6dc21a3abc33bde7 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 7 Sep 2025 16:09:31 +0100 Subject: [PATCH] Fix macOS deprecated constants --- code/sys/sys_osx.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sys/sys_osx.m b/code/sys/sys_osx.m index b0ecf6a5..bb89f319 100644 --- a/code/sys/sys_osx.m +++ b/code/sys/sys_osx.m @@ -50,9 +50,9 @@ dialogResult_t Sys_Dialog( dialogType_t type, const char *message, const char *t [alert setInformativeText: [NSString stringWithUTF8String: message]]; if( type == DT_ERROR ) - [alert setAlertStyle: NSCriticalAlertStyle]; + [alert setAlertStyle: NSAlertStyleCritical]; else - [alert setAlertStyle: NSWarningAlertStyle]; + [alert setAlertStyle: NSAlertStyleWarning]; switch( type ) {