diff options
author | culler <culler> | 2020-08-01 16:12:43 (GMT) |
---|---|---|
committer | culler <culler> | 2020-08-01 16:12:43 (GMT) |
commit | 0266964e830c47c5a6e12654b8e84378dfe97ca5 (patch) | |
tree | 7996b84cd6c83c18d322691f10b39910265b3adc /macosx/tkMacOSXConstants.h | |
parent | e6d961299e585273d99aa80444ad9237449c512a (diff) | |
download | tk-0266964e830c47c5a6e12654b8e84378dfe97ca5.zip tk-0266964e830c47c5a6e12654b8e84378dfe97ca5.tar.gz tk-0266964e830c47c5a6e12654b8e84378dfe97ca5.tar.bz2 |
The colormaps do not fix winfo rgb. Handle that directly. And deal with Big Sur deprecations.
Diffstat (limited to 'macosx/tkMacOSXConstants.h')
-rw-r--r-- | macosx/tkMacOSXConstants.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/tkMacOSXConstants.h b/macosx/tkMacOSXConstants.h index e019ea1..19ffd2c 100644 --- a/macosx/tkMacOSXConstants.h +++ b/macosx/tkMacOSXConstants.h @@ -106,6 +106,8 @@ typedef NSInteger NSModalResponse; #define graphicsContextWithGraphicsPort graphicsContextWithCGContext #endif - +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 110000 +#define NSWindowStyleMaskTexturedBackground 0 #endif +#endif |