Don't use 10.10-specific selectors in uiNewSearchEntry(). Fixes #132.

This commit is contained in:
Pietro Gagliardi 2016-06-13 15:15:40 -04:00
parent e46554f481
commit 857bbbf506
1 changed files with 3 additions and 2 deletions

View File

@ -241,8 +241,9 @@ uiEntry *uiNewSearchEntry(void)
e = finishNewEntry([libui_intrinsicWidthNSSearchField class]);
s = (NSSearchField *) (e->textfield);
[s setSendsSearchStringImmediately:NO];
[s setSendsWholeSearchString:NO];
// TODO these are only on 10.10
// [s setSendsSearchStringImmediately:NO];
// [s setSendsWholeSearchString:NO];
[s setBordered:NO];
[s setBezelStyle:NSTextFieldRoundedBezel];
[s setBezeled:YES];