diff options
author | Alexander Neumann <an2048@gmail.com> | 2013-07-24 19:35:35 +0200 |
---|---|---|
committer | Alexander Neumann <an2048@gmail.com> | 2013-07-24 19:35:35 +0200 |
commit | abcc417c805ea0a0e5561901cc5813c3482f2a47 (patch) | |
tree | f41a2ac4319921bde8c4bee28c26e9763bcf0145 /groupbox.go | |
parent | Group imports everywhere (diff) | |
download | wireguard-windows-abcc417c805ea0a0e5561901cc5813c3482f2a47.tar.xz wireguard-windows-abcc417c805ea0a0e5561901cc5813c3482f2a47.zip |
Use new in more places
Diffstat (limited to 'groupbox.go')
-rw-r--r-- | groupbox.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/groupbox.go b/groupbox.go index df54e1c6..e364670d 100644 --- a/groupbox.go +++ b/groupbox.go @@ -26,7 +26,7 @@ type GroupBox struct { } func NewGroupBox(parent Container) (*GroupBox, error) { - gb := &GroupBox{} + gb := new(GroupBox) if err := InitWidget( gb, |