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/window_darwin.m | 1 + 1 file changed, 1 insertion(+) (limited to 'new/window_darwin.m') diff --git a/new/window_darwin.m b/new/window_darwin.m index b74714a..1ff9297 100644 --- a/new/window_darwin.m +++ b/new/window_darwin.m @@ -88,5 +88,6 @@ void uiWindowOnClosing(uiWindow *w, int (*f)(uiWindow *, void *), void *data) void uiWindowSetChild(uiWindow *w, uiControl *c) { w->child = c; + w->container.child = c; (*(w->child->setParent))(w->child, (uintptr_t) (w->container)); } -- cgit v1.2.3