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;