Fixed some errors in darwin/button.m and darwin/checkbox.m.
This commit is contained in:
parent
b28c020bdd
commit
44dfc7d721
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue