mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0030900: Configuration - fix compilation using macOS SDK before 10.12
ViewerTest - added compatibility defines.
This commit is contained in:
parent
5e2477a7bd
commit
c64135f723
@ -28,6 +28,9 @@
|
||||
// replacements for macOS versions before 10.12
|
||||
#define NSEventModifierFlagControl NSControlKeyMask
|
||||
#define NSEventModifierFlagShift NSShiftKeyMask
|
||||
#define NSEventModifierFlagOption NSAlternateKeyMask
|
||||
#define NSEventModifierFlagCommand NSCommandKeyMask
|
||||
#define NSEventModifierFlagFunction NSFunctionKeyMask
|
||||
#endif
|
||||
|
||||
//! Custom Cocoa view to handle events
|
||||
|
Loading…
x
Reference in New Issue
Block a user