5 * Created by Chris Taylor on Sat Jul 03 2004.
14 #include <Carbon/Carbon.h>
19 void ErrorDialog(char *message)
21 Str255 pascal_message;
22 short itemHit; // Insists on returning this
24 CopyCStringToPascal(message, pascal_message);
26 StandardAlert(kAlertStopAlert, pascal_message, NULL, 0, &itemHit);
29 void WarningDialog(char *s)
31 Str255 pascal_message;
32 short itemHit; // Insists on returning this
34 CopyCStringToPascal(s, pascal_message);
36 StandardAlert(kAlertCautionAlert, pascal_message, NULL, 0, &itemHit);