From 77a60d63a6aa6ffc02c541a8cdc7483744cc827c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 7 Apr 2015 16:38:51 -0400 Subject: Fixed compiler errors and bugs. uiButton on Mac OS X works! --- new/container_darwin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new/container_darwin.m') 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 -- cgit v1.2.3