summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-06 10:07:34 -0400
committerPietro Gagliardi <[email protected]>2014-06-06 10:07:34 -0400
commit4b70a37fb1745b5c51b3116fdac660e8cd25fa2b (patch)
treea5fecb24e76fa3c467384da27a160547f1b89f00
parent4856790299cf531b874a4e1b835017b0ca9abd03 (diff)
Updated doc.go with the MsgBox() change.
-rw-r--r--doc.go2
1 files changed, 1 insertions, 1 deletions
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() + "!", "")
}
}
}