summaryrefslogtreecommitdiff
path: root/new/darwin/checkbox.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-16 14:41:24 -0400
committerPietro Gagliardi <[email protected]>2015-04-16 14:41:24 -0400
commit0660104659c17852035233617ce9885339c93d7c (patch)
treeb52848e71704207ffc62a9a9a5488383b9b913a2 /new/darwin/checkbox.m
parent89931668a56b0b12edcf4e77423313f5917e6bb0 (diff)
Migrated darwin/label.m; fixed up some of the other files.
Diffstat (limited to 'new/darwin/checkbox.m')
-rw-r--r--new/darwin/checkbox.m2
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;
}