diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-28 16:37:55 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-28 16:37:55 -0400 |
| commit | affc65a5a402534527c4d4fbc5b381b5b1283445 (patch) | |
| tree | ef34e20694a809577b2d609d9e3ffadfe64bbc12 /dialog.go | |
| parent | 02d6a03ba3a657aa7b50d072771361236bb207a3 (diff) | |
Fixed the build. New API works on Windows! Also removed TODO on dialogs in Windows since I can't reproduce the weird behavior anymore; I guess the new code fixes it.
Diffstat (limited to 'dialog.go')
| -rw-r--r-- | dialog.go | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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. |
