10.8 build fix.
This commit is contained in:
parent
ae0dcada45
commit
c99ad0f0c5
|
@ -136,7 +136,9 @@ static uiMultilineEntry *finishMultilineEntry(BOOL hscroll)
|
|||
[e->tv setUsesFontPanel:NO];
|
||||
[e->tv setRulerVisible:NO];
|
||||
// we'll handle font last
|
||||
[e->tv setAlignment:NSTextAlignmentNatural];
|
||||
// while setAlignment: has been around since 10.0, the named constant "NSTextAlignmentNatural" seems to have only been introduced in 10.11
|
||||
#define ourNSTextAlignmentNatural 4
|
||||
[e->tv setAlignment:ourNSTextAlignmentNatural];
|
||||
// textColor is set to nil, just keep the dfault
|
||||
[e->tv setBaseWritingDirection:NSWritingDirectionNatural];
|
||||
[e->tv setHorizontallyResizable:NO];
|
||||
|
|
Loading…
Reference in New Issue