diff options
Diffstat (limited to 'checkbox.go')
| -rw-r--r-- | checkbox.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/checkbox.go b/checkbox.go index 89768ef..fc5c197 100644 --- a/checkbox.go +++ b/checkbox.go @@ -20,11 +20,7 @@ type Checkbox struct { // NewCheckbox creates a new checkbox with the specified text. func NewCheckbox(text string) (c *Checkbox) { return &Checkbox{ - sysData: &sysData{ - cSysData: cSysData{ - ctype: c_checkbox, - }, - }, + sysData: mksysdata(c_checkbox), initText: text, } } |
