summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-25 19:16:38 -0400
committerPietro Gagliardi <[email protected]>2014-04-25 19:16:38 -0400
commit194e4971b2c89f326cbca6cadca4bc5ef6cb337f (patch)
treef48dcf8f944d16c899a2b9853514c399baebf873
parent304995b3728142bf4aaad86e9204b5300b2e5916 (diff)
Switched to NSInformationalAlertStyle for Mac OS X MsgBox() since these aren't specifically warnings.
-rw-r--r--dialog_darwin.go3
1 files changed, 1 insertions, 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) {