Mercurial > dwindows
diff mac/dw.m @ 2418:50e1ddce0aeb
Mac: Fix building on old versions of MacOS due to a recent change.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 03 Apr 2021 02:54:19 +0000 |
parents | 3b59cbd26fab |
children | b0e6f8f0a1ff |
line wrap: on
line diff
--- a/mac/dw.m Sat Apr 03 00:24:49 2021 +0000 +++ b/mac/dw.m Sat Apr 03 02:54:19 2021 +0000 @@ -10070,7 +10070,7 @@ else if([object isMemberOfClass:[NSTextView class]]) { NSTextView *tv = handle; - [tv setAlignment:(style & mask & (NSTextAlignmentLeft|NSTextAlignmentCenter|NSTextAlignmentRight))]; + [tv setAlignment:(style & mask & (DWTextAlignmentLeft|DWTextAlignmentCenter|DWTextAlignmentRight))]; } else if([object isMemberOfClass:[DWButton class]]) {