summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/tkMacOSXPrivate.h2
-rw-r--r--macosx/tkMacOSXWm.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h
index 24108a6..197879f 100644
--- a/macosx/tkMacOSXPrivate.h
+++ b/macosx/tkMacOSXPrivate.h
@@ -348,10 +348,8 @@ VISIBILITY_HIDDEN
@end
@interface NSWindow(TKWm)
-#if MAC_OS_X_VERSION_MIN_REQUIRED < 101400
- (NSPoint) tkConvertPointToScreen:(NSPoint)point;
- (NSPoint) tkConvertPointFromScreen:(NSPoint)point;
-#endif
@end
#pragma mark NSMenu & NSMenuItem Utilities
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 0e30d28..a3f2043 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -6562,7 +6562,7 @@ TkMacOSXMakeFullscreen(
/*For 10.13 and later add a button for exiting Fullscreen.*/
if ([NSApp macMinorVersion] > 12) {
-#if __MAC_OSX_VERSION_MAX_ALLOWED > 1090
+#if MAC_OS_X_VERSION_MAX_ALLOWED > 1090
exitFullScreen = [[[NSStatusBar systemStatusBar]
statusItemWithLength:NSVariableStatusItemLength] retain];
NSImage *exitIcon = [NSImage imageNamed:@"NSExitFullScreenTemplate"];