aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/updatepage.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-11 16:44:30 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-16 18:17:05 +0100
commit08315b0f281d5871ed3dafb1a3ec89bfea33571e (patch)
tree510f844663cd9d34c76369443bab8045a12ef2bd /ui/updatepage.go
parentui: remove systray popup menu tunnel list (diff)
downloadwireguard-windows-08315b0f281d5871ed3dafb1a3ec89bfea33571e.tar.xz
wireguard-windows-08315b0f281d5871ed3dafb1a3ec89bfea33571e.zip
ui: use resource numbers instead of resource indices
This makes it stable between Windows versions. HOWEVER! We're still using "1" instead of SHIDI_SHIELD_INTERNAL, because the latter is named instead of numbered. This is a TODO item. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--ui/updatepage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/updatepage.go b/ui/updatepage.go
index 1ed0b74c..45d09658 100644
--- a/ui/updatepage.go
+++ b/ui/updatepage.go
@@ -60,7 +60,7 @@ func NewUpdatePage() (*UpdatePage, error) {
if err != nil {
return nil, err
}
- updateIcon, _ := loadSystemIcon("shell32", 46, 32)
+ updateIcon, _ := loadSystemIcon("shell32", -47, 32)
button.SetImage(updateIcon)
button.SetText(l18n.Sprintf("Update Now"))