Don't use 10.10-specific selectors in uiNewSearchEntry(). Fixes #132.
This commit is contained in:
parent
e46554f481
commit
857bbbf506
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue