From 6b08a2b18f9c5f0ddc01a37e2cf26fa7bdf9d98e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 16 Apr 2015 15:08:49 -0400 Subject: Fixed the OS X build, including warnings. It works. I'm still a bit unhappy about the way these backends are turning out... --- new/darwin/entry.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new/darwin/entry.m') diff --git a/new/darwin/entry.m b/new/darwin/entry.m index 84835f3..7189156 100644 --- a/new/darwin/entry.m +++ b/new/darwin/entry.m @@ -59,7 +59,7 @@ uiEntry *uiNewEntry(void) e = uiNew(uiEntry); uiDarwinNewControl(uiControl(e), [uiNSTextField class], NO, NO); - t = (uiNSTextField *) uiControlHandle(c); + t = (uiNSTextField *) uiControlHandle(uiControl(e)); [t setSelectable:YES]; // otherwise the setting is masked by the editable default of YES finishNewTextField((NSTextField *) t, YES); -- cgit v1.2.3