Fixed button showing on GTK+. GTK+ uiButton done!

This commit is contained in:
Pietro Gagliardi 2015-04-07 14:13:42 -04:00
parent d88a727799
commit 596ab2e413
1 changed files with 1 additions and 1 deletions

2
test.c
View File

@ -29,12 +29,12 @@ int main(void)
w = uiNewWindow("Hello", 320, 240);
uiWindowOnClosing(w, onClosing, NULL);
uiWindowShow(w);
button = uiNewButton("Click Me");
uiButtonOnClicked(button, onClicked, NULL);
uiWindowSetChild(w, button);
uiWindowShow(w);
uiMain();
printf("after uiMain()\n");
return 0;