From 129733514a8aeb8a3a7091d4a74f11375f33e299 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 28 Apr 2015 17:48:56 -0400 Subject: [PATCH] Re-enabled window creation on the test program. It works! --- new/darwin/menu.m | 6 ++++++ new/test/main.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/new/darwin/menu.m b/new/darwin/menu.m index 3b3e86f4..2b60d6c3 100644 --- a/new/darwin/menu.m +++ b/new/darwin/menu.m @@ -97,3 +97,9 @@ } @end + +uiMenu *uiNewMenu(const char *name) +{ + // TODO + return NULL; +} diff --git a/new/test/main.c b/new/test/main.c index 17ce932e..37759900 100644 --- a/new/test/main.c +++ b/new/test/main.c @@ -37,7 +37,7 @@ int main(int argc, char *argv[]) return 1; } -/* initMenus(); +// initMenus(); w = newWindow("Main Window", 320, 240, 1); uiWindowOnClosing(w, onClosing, NULL); @@ -45,7 +45,7 @@ int main(int argc, char *argv[]) uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1))); uiControlShow(uiControl(w)); -*/ uiMain(); + uiMain(); printf("after uiMain()\n"); return 0; }