diff options
author | Alexander Neumann <alexander.neumann@picos-software.com> | 2019-04-11 11:28:03 +0200 |
---|---|---|
committer | Alexander Neumann <alexander.neumann@picos-software.com> | 2019-04-23 11:04:59 +0200 |
commit | f9b3211e792d0b7d01b79ba01c43424280b6d7b1 (patch) | |
tree | 425ccbef3682271f5890865b035b89c7f3afa262 /ui | |
parent | ui: implement export log action (diff) | |
download | wireguard-windows-f9b3211e792d0b7d01b79ba01c43424280b6d7b1.tar.xz wireguard-windows-f9b3211e792d0b7d01b79ba01c43424280b6d7b1.zip |
ui: use recently added walk.MsgBoxStyle constant instead of literal value
requires https://github.com/lxn/walk/commit/737ab3ec398e9a99114e21d33d6dc671f033d04e
Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ But because this is pre-release software, we're not confident it's something you Would you like to quit WireGuard now? If not, you'll be nagged again in two minutes about the same thing.` func nag() { - if walk.MsgBox(nil, "THANKS FOR REPORTING BUGS COME AGAIN ANOTHER DAY", nagMessage, walk.MsgBoxIconError|walk.MsgBoxYesNo|0x00001000) != walk.DlgCmdNo { + if walk.MsgBox(nil, "THANKS FOR REPORTING BUGS COME AGAIN ANOTHER DAY", nagMessage, walk.MsgBoxIconError|walk.MsgBoxYesNo|walk.MsgBoxSystemModal) != walk.DlgCmdNo { onQuit() } time.AfterFunc(time.Minute*2, nag) |