From 4b70a37fb1745b5c51b3116fdac660e8cd25fa2b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 6 Jun 2014 10:07:34 -0400 Subject: [PATCH] Updated doc.go with the MsgBox() change. --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index 0a2637a..80146e9 100644 --- a/doc.go +++ b/doc.go @@ -30,7 +30,7 @@ Here is a simple, complete program that asks the user for their name and greets case <-w.Closing: // user tries to close the window or quit the program return case <-button.Clicked: // user clicked the button - ui.MsgBox("Hello, " + nameField.Text() + "!", "") + ui.MsgBox(w, "Hello, " + nameField.Text() + "!", "") } } }