From 194e4971b2c89f326cbca6cadca4bc5ef6cb337f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 25 Apr 2014 19:16:38 -0400 Subject: [PATCH] Switched to NSInformationalAlertStyle for Mac OS X MsgBox() since these aren't specifically warnings. --- dialog_darwin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dialog_darwin.go b/dialog_darwin.go index 6de751a..6bf7d60 100644 --- a/dialog_darwin.go +++ b/dialog_darwin.go @@ -45,8 +45,7 @@ func _msgBox(primarytext string, secondarytext string, style uintptr, button0 st } func msgBox(primarytext string, secondarytext string) { - // TODO _NSInformationalAlertStyle? - _msgBox(primarytext, secondarytext, _NSWarningAlertStyle, "OK") + _msgBox(primarytext, secondarytext, _NSInformationalAlertStyle, "OK") } func msgBoxError(primarytext string, secondarytext string) {