diff --git a/stepmania/src/arch/ArchHooks/ArchHooks_darwin.cpp b/stepmania/src/arch/ArchHooks/ArchHooks_darwin.cpp index 6efa0e2526..20172e0fc5 100644 --- a/stepmania/src/arch/ArchHooks/ArchHooks_darwin.cpp +++ b/stepmania/src/arch/ArchHooks/ArchHooks_darwin.cpp @@ -26,22 +26,6 @@ enum static thread_time_constraint_policy g_oldttcpolicy; static float g_fStartedTimeCritAt; -SInt16 ShowAlert(int type, CFStringRef message, CFStringRef OK, CFStringRef cancel = NULL) -{ - struct AlertStdCFStringAlertParamRec params = {kStdCFStringAlertVersionOne, true, false, OK, cancel, NULL, - kAlertStdAlertOKButton, kAlertStdAlertCancelButton, kWindowAlertPositionParentWindowScreen, NULL}; - DialogRef dialog; - SInt16 result; - OSErr err; - - CreateStandardAlert(type, message, NULL, ¶ms, &dialog); - err = AutoSizeDialog(dialog); - ASSERT(err == noErr); - RunStandardAlert(dialog, NULL, &result); - - return result; -} - static bool IsFatalSignal( int signal ) { switch( signal )