From 37dacc0ec9c02176ee139a8189e9a9a196518efa Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 27 Apr 2015 22:27:50 -0400 Subject: [PATCH] Updated the test program. It works! Now to make the same migration for the GTK+ backend, and then to write the new OS X backend. Then we get to tabs, then the basic controls. --- new/test/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/new/test/main.c b/new/test/main.c index 5fe612cd..c7ce2d02 100644 --- a/new/test/main.c +++ b/new/test/main.c @@ -42,9 +42,9 @@ int main(int argc, char *argv[]) w = newWindow("Main Window", 320, 240, 1); uiWindowOnClosing(w, onClosing, NULL); - uiWindowShow(newWindow("Second Window", 320, 240, 1)); + uiControlShow(uiControl(newWindow("Second Window", 320, 240, 1))); - uiWindowShow(w); + uiControlShow(uiControl(w)); uiMain(); printf("after uiMain()\n"); return 0;