Fix macOS deprecated constants

This commit is contained in:
Tim Angus committed 2025-09-07 17:18:12 +01:00
1 parent 65a1da4a01
commit 5449053008
1 file changed
+2 -2
+2 -2
View File
@@ -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 )
{