summaryrefslogtreecommitdiff
path: root/dialog.go
diff options
context:
space:
mode:
Diffstat (limited to 'dialog.go')
-rw-r--r--dialog.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/dialog.go b/dialog.go
index e676127..6c62bfd 100644
--- a/dialog.go
+++ b/dialog.go
@@ -12,11 +12,7 @@ const (
// sentinel (not nil so programmer errors don't go undetected)
// this window is invalid and cannot be used directly
// notice the support it uses
-var dialogWindow = &Window{
- sysData: &sysData{
- winhandler: dh,
- }
-}
+var dialogWindow = new(Window)
// MsgBox displays an informational message box to the user with just an OK button.
// primaryText should be a short string describing the message, and will be displayed with additional emphasis on platforms that support it.