diff options
Diffstat (limited to 'new/darwin/checkbox.m')
| -rw-r--r-- | new/darwin/checkbox.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/darwin/checkbox.m b/new/darwin/checkbox.m index 42ea833..5ad6961 100644 --- a/new/darwin/checkbox.m +++ b/new/darwin/checkbox.m @@ -11,7 +11,7 @@ - (void)viewDidMoveToSuperview { - if (uiDarwinControlFreeWhenAppropriate(self.uiC, [self superview])) { + if (uiDarwinControlFreeWhenAppropriate(uiControl(self.uiC), [self superview])) { [self setTarget:nil]; self.uiC = NULL; } |
