summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() + "!", "")
}
}
}