From 304995b3728142bf4aaad86e9204b5300b2e5916 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 25 Apr 2014 18:39:43 -0400 Subject: [PATCH] Decided not to show an icon in the regular MsgBox() on Windows and Unix. For Mac OS X I need to see what the difference between Warning and Informational is. --- dialog_unix.go | 1 - dialog_windows.go | 1 - 2 files changed, 2 deletions(-) diff --git a/dialog_unix.go b/dialog_unix.go index ec1a4e1..c3c506c 100644 --- a/dialog_unix.go +++ b/dialog_unix.go @@ -43,7 +43,6 @@ func _msgBox(primarytext string, secondarytext string, msgtype C.GtkMessageType, } func msgBox(primarytext string, secondarytext string) { - // TODO add an icon? _msgBox(primarytext, secondarytext, C.GtkMessageType(C.GTK_MESSAGE_OTHER), C.GtkButtonsType(C.GTK_BUTTONS_OK)) } diff --git a/dialog_windows.go b/dialog_windows.go index 6f22df4..d0a34ab 100644 --- a/dialog_windows.go +++ b/dialog_windows.go @@ -103,7 +103,6 @@ func _msgBox(primarytext string, secondarytext string, uType uint32) (result int } func msgBox(primarytext string, secondarytext string) { - // TODO add an icon? _msgBox(primarytext, secondarytext, _MB_OK) }