From 44dfc7d7212d5df93ad4ec95df8765298afc5d30 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 17 Apr 2015 18:33:13 -0400 Subject: [PATCH] Fixed some errors in darwin/button.m and darwin/checkbox.m. --- darwin/button.m | 2 +- darwin/checkbox.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/darwin/button.m b/darwin/button.m index 25d108a3..1ae0f984 100644 --- a/darwin/button.m +++ b/darwin/button.m @@ -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); diff --git a/darwin/checkbox.m b/darwin/checkbox.m index a9ec0b01..bf0ae216 100644 --- a/darwin/checkbox.m +++ b/darwin/checkbox.m @@ -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);