summaryrefslogtreecommitdiff
path: root/dialog_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'dialog_windows.go')
-rw-r--r--dialog_windows.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/dialog_windows.go b/dialog_windows.go
index c6da94b..655aa8b 100644
--- a/dialog_windows.go
+++ b/dialog_windows.go
@@ -30,6 +30,7 @@ func _msgBox(parent *Window, primarytext string, secondarytext string, uType uin
go func() {
ret := make(chan uiret)
defer close(ret)
+/* TODO
uitask <- &uimsg{
call: _messageBox,
p: []uintptr{
@@ -40,6 +41,7 @@ func _msgBox(parent *Window, primarytext string, secondarytext string, uType uin
},
ret: ret,
}
+*/
r := <-ret
if r.ret == 0 { // failure
panic(fmt.Sprintf("error displaying message box to user: %v\nstyle: 0x%08X\ntitle: %q\ntext:\n%s", r.err, uType, os.Args[0], text))