summaryrefslogtreecommitdiff
path: root/new/container_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-07 16:38:51 -0400
committerPietro Gagliardi <[email protected]>2015-04-07 16:38:51 -0400
commit77a60d63a6aa6ffc02c541a8cdc7483744cc827c (patch)
tree95da186810be45a756d8433e437c268ef3714456 /new/container_darwin.m
parent3969095a33a518023564ec32f8373bbad913b6c3 (diff)
Fixed compiler errors and bugs. uiButton on Mac OS X works!
Diffstat (limited to 'new/container_darwin.m')
-rw-r--r--new/container_darwin.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/new/container_darwin.m b/new/container_darwin.m
index 7f628a3..d23eedf 100644
--- a/new/container_darwin.m
+++ b/new/container_darwin.m
@@ -16,7 +16,7 @@
[super setFrameSize:s];
if (self.child != NULL)
- (*(self.child->resize))(self.child, 0, 0, [self bounds].size.width, [self bounds].size.height, d);
+ (*(self.child->resize))(self.child, [self bounds].origin.y, [self bounds].origin.y, [self bounds].size.width, [self bounds].size.height, &d);
}
@end