diff options
author | Alexander Neumann <alexander.neumann@picos-software.com> | 2019-03-25 17:21:57 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-25 18:21:37 +0100 |
commit | f6361aa4134d9e1ff34a098598c9712879e64e35 (patch) | |
tree | b7dd6fac4a67d8987dc11f27770e69628e62d78e /ui | |
parent | errors: don't put periods at end of errors (diff) | |
download | wireguard-windows-f6361aa4134d9e1ff34a098598c9712879e64e35.tar.xz wireguard-windows-f6361aa4134d9e1ff34a098598c9712879e64e35.zip |
ui: Remove WM_SIZING hack from ConfView, fixed bug in walk
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/confview.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/confview.go b/ui/confview.go index 11855987..138d4aa7 100644 --- a/ui/confview.go +++ b/ui/confview.go @@ -7,14 +7,15 @@ package ui import ( "fmt" - "github.com/lxn/walk" - "github.com/lxn/win" - "golang.org/x/sys/windows" - "golang.zx2c4.com/wireguard/windows/conf" "reflect" "strconv" "strings" "unsafe" + + "github.com/lxn/walk" + "github.com/lxn/win" + "golang.org/x/sys/windows" + "golang.zx2c4.com/wireguard/windows/conf" ) type labelTextLine struct { @@ -267,7 +268,6 @@ func (cv *ConfView) setConfiguration(c *conf.Config) { defer func() { if hasSuspended { cv.SetSuspended(false) - cv.SendMessage(win.WM_SIZING, 0, 0) //TODO: FILTHY HACK! And doesn't work when items disappear. } }() title := "Interface: " + c.Name |