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]);
|
e = finishNewEntry([libui_intrinsicWidthNSSearchField class]);
|
||||||
s = (NSSearchField *) (e->textfield);
|
s = (NSSearchField *) (e->textfield);
|
||||||
[s setSendsSearchStringImmediately:NO];
|
// TODO these are only on 10.10
|
||||||
[s setSendsWholeSearchString:NO];
|
// [s setSendsSearchStringImmediately:NO];
|
||||||
|
// [s setSendsWholeSearchString:NO];
|
||||||
[s setBordered:NO];
|
[s setBordered:NO];
|
||||||
[s setBezelStyle:NSTextFieldRoundedBezel];
|
[s setBezelStyle:NSTextFieldRoundedBezel];
|
||||||
[s setBezeled:YES];
|
[s setBezeled:YES];
|
||||||
|
|
Loading…
Reference in New Issue