summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlexander Neumann <an2048@gmail.com>2019-05-02 17:20:07 +0200
committerAlexander Neumann <an2048@gmail.com>2019-05-02 17:20:07 +0200
commit8490802c5f6c5938d417545c3ee2c73c84c912cc (patch)
treed515a83ddb47db84f716bb1d6c7fee1192f64fce
parentCache dpi to avoid repetitive calls to GetDpiForWindow (diff)
parentMerge pull request #499 from zx2c4-forks/jd/tabbpagelist (diff)
downloadwireguard-windows-8490802c5f6c5938d417545c3ee2c73c84c912cc.tar.xz
wireguard-windows-8490802c5f6c5938d417545c3ee2c73c84c912cc.zip
Merge branch 'master' of github.com:lxn/walk
-rw-r--r--tabpagelist.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tabpagelist.go b/tabpagelist.go
index b425b301..ce05ddf4 100644
--- a/tabpagelist.go
+++ b/tabpagelist.go
@@ -108,6 +108,10 @@ func (l *TabPageList) Insert(index int, item *TabPage) error {
}
}
+ if item.Layout() != nil {
+ item.Layout().Update(false)
+ }
+
return nil
}