lxn / walk

A Windows GUI toolkit for the Go Programming Language
Other
6.84k stars 884 forks source link

defer global init() to first call to InitWindow() #605

Closed zx2c4 closed 5 years ago

zx2c4 commented 5 years ago

These should be upstreamed into walk and win:

  1. https://git.zx2c4.com/wireguard-windows/commit/?h=pkg/walk&id=6964a14ac32746d74453840a651de580f256388f
  2. https://git.zx2c4.com/wireguard-windows/commit/?h=pkg/walk-win&id=47ad350ac88bd05c8f7b2c3d2a8e61fde44625c8
  3. https://git.zx2c4.com/wireguard-windows/commit/?h=pkg/walk&id=b22a84f85e90c1d27fb9e441fc9b09ffb3e69562
zx2c4 commented 5 years ago

Fixed with: https://github.com/lxn/walk/pull/606 https://github.com/lxn/win/pull/88