summaryrefslogtreecommitdiff
path: root/new/test.c
diff options
context:
space:
mode:
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");