summaryrefslogtreecommitdiff
path: root/new/test.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 12:32:59 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 12:32:59 -0400
commit07f3b4698e74b8b0fbffcaa3afc300ff6238861b (patch)
tree8d0a8ccd267e68dcd617e265ed62f17bc868a8ed /new/test.c
parentd52a0b9a7d30875740feb0d318c3a5e5d80ab05e (diff)
Implemented uiCheckbox on Windows. Fixed build issues in the test program.
Diffstat (limited to 'new/test.c')
-rw-r--r--new/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/new/test.c b/new/test.c
index c9a6d66..175236b 100644
--- a/new/test.c
+++ b/new/test.c
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
uiWindowOnClosing(w, onClosing, NULL);
stacks[0] = uiNewVerticalStack();
- uiWindowSetChild(w, staacks[0]);
+ uiWindowSetChild(w, stacks[0]);
e = uiNewEntry();
uiStackAdd(stacks[0], e, 0);
@@ -116,7 +116,7 @@ int main(int argc, char *argv[])
// this will also be used to make sure tab stops work properly when inserted out of creation order, especially on Windows
spaced = uiNewCheckbox("Spaced");
- uiCheckboxOnClicked(spaced, setSpaced, NULL);
+ uiCheckboxOnToggled(spaced, setSpaced, NULL);
stacks[3] = uiNewHorizontalStack();
getButton = uiNewButton("Get Checkbox Text");