mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Guard new code for builds with OS X 10.11 SDK and lesser (part 2).
This commit is contained in:
parent
718b735dfe
commit
df990b1027
@ -42,6 +42,10 @@ void appleCleanupViewMenu() {
|
||||
|
||||
|
||||
bool appleUserTabbingPreferenceAlways() {
|
||||
#if defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && (__MAC_OS_X_VERSION_MAX_ALLOWED >= 101200)
|
||||
return [NSWindow respondsToSelector:@selector(userTabbingPreference)] &&
|
||||
[NSWindow userTabbingPreference] == NSWindowUserTabbingPreferenceAlways;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user