log output here

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-03 13:03:00 -07:00
parent 682fc29bab
commit adfc58a6c9
1 changed files with 4 additions and 0 deletions

4
gui.go
View File

@ -120,9 +120,13 @@ func normalizeInt(s string) string {
}
func MessageWindow(gw *GuiWindow, msg1 string, msg2 string) {
log.Println("gui.MessageWindow() msg1 =", msg1)
log.Println("gui.MessageWindow() msg2 =", msg2)
ui.MsgBox(gw.UiWindow, msg1, msg2)
}
func ErrorWindow(gw *GuiWindow, msg1 string, msg2 string) {
log.Println("gui.ErrorWindow() msg1 =", msg1)
log.Println("gui.ErrorWindow() msg2 =", msg2)
ui.MsgBoxError(gw.UiWindow, msg1, msg2)
}