mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
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
db8883d9e2
commit
bf58667193
1 changed files with 4 additions and 4 deletions
|
@ -49,10 +49,10 @@ dialogResult_t Sys_Dialog( dialogType_t type, const char *message, const char *t
|
||||||
[alert setMessageText: [NSString stringWithUTF8String: title]];
|
[alert setMessageText: [NSString stringWithUTF8String: title]];
|
||||||
[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…
Reference in a new issue