OSX 10.10 compatiblity for compositing operators (#26476) * Add defines for macOS < 10.12 in private header
| ... | ... | @@ -70,6 +70,24 @@ WXDLLIMPEXP_BASE CFURLRef wxOSXCreateURLFromFileSystemPath( const wxString& path |
| 70 | 70 | |
| 71 | 71 | #if !defined(__WXOSX_IPHONE__)
|
| 72 | 72 | #include <ApplicationServices/ApplicationServices.h>
|
| 73 | + |
|
| 74 | +#if __MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12
|
|
| 75 | + #define NSCompositingOperationClear NSCompositeClear
|
|
| 76 | + #define NSCompositingOperationCopy NSCompositeCopy
|
|
| 77 | + #define NSCompositingOperationSourceOver NSCompositeSourceOver
|
|
| 78 | + #define NSCompositingOperationSourceIn NSCompositeSourceIn
|
|
| 79 | + #define NSCompositingOperationSourceOut NSCompositeSourceOut
|
|
| 80 | + #define NSCompositingOperationSourceAtop NSCompositeSourceAtop
|
|
| 81 | + #define NSCompositingOperationDestinationOver NSCompositeDestinationOver
|
|
| 82 | + #define NSCompositingOperationDestinationIn NSCompositeDestinationIn
|
|
| 83 | + #define NSCompositingOperationDestinationOut NSCompositeDestinationOut
|
|
| 84 | + #define NSCompositingOperationDestinationAtop NSCompositeDestinationAtop
|
|
| 85 | + #define NSCompositingOperationExclusion NSCompositeExclusion
|
|
| 86 | + #define NSCompositingOperationPlusLighter NSCompositePlusLighter
|
|
| 87 | + #define NSCompositingOperationDifference NSCompositeDifference
|
|
| 88 | + #define NSCompositingOperationSourceOver NSCompositeSourceOver
|
|
| 89 | +#endif
|
|
| 90 | + |
|
| 73 | 91 | #endif
|
| 74 | 92 | |
| 75 | 93 | #include "wx/bmpbndl.h"
|
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help