Fix macOS deprecated constants

This commit is contained in:
Tim Angus 2025-09-07 16:09:31 +01:00
parent 65a1da4a01
commit 5449053008

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 )
{