Reverting alert style to deprecated methods
Until I can find a way to branch around this in a way Xcode 3 is cool with we'll just have to use the deprecated version
This commit is contained in:
1 parent
6133df65fc
commit
46a793b5b3
1 file changed
+4
-4
+4
-4
@@ -49,10 +49,10 @@ dialogResult_t Sys_Dialog( dialogType_t type, const char *message, const char *t
|
||||
[alert setMessageText: [NSString stringWithUTF8String: title]];
|
||||
[alert setInformativeText: [NSString stringWithUTF8String: message]];
|
||||
|
||||
if( type == DT_ERROR )
|
||||
[alert setAlertStyle: NSAlertStyleCritical];
|
||||
else
|
||||
[alert setAlertStyle: NSAlertStyleWarning];
|
||||
if( type == DT_ERROR )
|
||||
[alert setAlertStyle: NSCriticalAlertStyle];
|
||||
else
|
||||
[alert setAlertStyle: NSWarningAlertStyle];
|
||||
|
||||
switch( type )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user