Fixed some errors in darwin/button.m and darwin/checkbox.m.

This commit is contained in:
Pietro Gagliardi 2015-04-17 18:33:13 -04:00
parent b28c020bdd
commit 44dfc7d721
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ uiButton *uiNewButton(const char *text)
b = uiNew(uiButton);
uiDarwinNewControl(uiControl(b), [uiNSButton class], NO, NO, destroy, b);
uiDarwinNewControl(uiControl(b), [NSButton class], NO, NO, destroy, b);
b->button = (NSButton *) VIEW(b);

View File

@ -98,7 +98,7 @@ uiCheckbox *uiNewCheckbox(const char *text)
c = uiNew(uiCheckbox);
uiDarwinNewControl(uiControl(c), [uiCheckboxNSButton class], NO, NO, destroy, NULL);
uiDarwinNewControl(uiControl(c), [NSButton class], NO, NO, destroy, NULL);
c->checkbox = (NSButton *) VIEW(c);