Fix macOS deprecated constants
This commit is contained in:
1 parent
65a1da4a01
commit
5449053008
1 file changed
+2
-2
+2
-2
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user