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:
parent
6133df65fc
commit
46a793b5b3
1 changed files with 4 additions and 4 deletions
|
@ -50,9 +50,9 @@ dialogResult_t Sys_Dialog( dialogType_t type, const char *message, const char *t
|
||||||
[alert setInformativeText: [NSString stringWithUTF8String: message]];
|
[alert setInformativeText: [NSString stringWithUTF8String: message]];
|
||||||
|
|
||||||
if( type == DT_ERROR )
|
if( type == DT_ERROR )
|
||||||
[alert setAlertStyle: NSAlertStyleCritical];
|
[alert setAlertStyle: NSCriticalAlertStyle];
|
||||||
else
|
else
|
||||||
[alert setAlertStyle: NSAlertStyleWarning];
|
[alert setAlertStyle: NSWarningAlertStyle];
|
||||||
|
|
||||||
switch( type )
|
switch( type )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue