Switched to NSInformationalAlertStyle for Mac OS X MsgBox() since these aren't specifically warnings.
This commit is contained in:
parent
304995b372
commit
194e4971b2
|
@ -45,8 +45,7 @@ func _msgBox(primarytext string, secondarytext string, style uintptr, button0 st
|
||||||
}
|
}
|
||||||
|
|
||||||
func msgBox(primarytext string, secondarytext string) {
|
func msgBox(primarytext string, secondarytext string) {
|
||||||
// TODO _NSInformationalAlertStyle?
|
_msgBox(primarytext, secondarytext, _NSInformationalAlertStyle, "OK")
|
||||||
_msgBox(primarytext, secondarytext, _NSWarningAlertStyle, "OK")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func msgBoxError(primarytext string, secondarytext string) {
|
func msgBoxError(primarytext string, secondarytext string) {
|
||||||
|
|
Loading…
Reference in New Issue