summaryrefslogtreecommitdiff
path: root/new/test.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-07 14:13:42 -0400
committerPietro Gagliardi <[email protected]>2015-04-07 14:13:42 -0400
commit4a52806d70af810634eaf6e3760d3c7a945ff006 (patch)
treeaa424ea57f7b2b78ac2109c419d96961e13ca5a4 /new/test.c
parent3c427ed799eb3a58f5d442e19e4f4cd6f844b79a (diff)
Fixed button showing on GTK+. GTK+ uiButton done!
Diffstat (limited to 'new/test.c')
-rw-r--r--new/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/new/test.c b/new/test.c
index b2cb630..1f8eca0 100644
--- a/new/test.c
+++ b/new/test.c
@@ -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;