diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-23 17:09:08 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-23 17:09:08 -0400 |
| commit | a2eb69cbf6887a3eee85c7d9e10d13672e4cdb76 (patch) | |
| tree | 1aea9da0499889ef8dbf5157c0b904ce7121b047 /redo/controls_darwin.go | |
| parent | 300835a1b45b0b59951baa28e69e886aa72fc38f (diff) | |
Fixed compilation errors on Mac OS X. Reparenting works; redrawing, however...
Diffstat (limited to 'redo/controls_darwin.go')
| -rw-r--r-- | redo/controls_darwin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/controls_darwin.go b/redo/controls_darwin.go index 9fef658..8d13aaa 100644 --- a/redo/controls_darwin.go +++ b/redo/controls_darwin.go @@ -93,10 +93,10 @@ func newCheckbox(text string) *checkbox { // we don't need to define our own event here; we can just reuse Button's // (it's all target-action anyway) -type (c *checkbox) Checked() bool { +func (c *checkbox) Checked() bool { return fromBOOL(C.checkboxChecked(c.id)) } -type (c *checkbox) SetChecked(checked bool) { +func (c *checkbox) SetChecked(checked bool) { C.checkboxSetChecked(c.id, toBOOL(checked)) } |
