summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXNotify.c
diff options
context:
space:
mode:
authorculler <culler>2017-11-27 01:19:55 (GMT)
committerculler <culler>2017-11-27 01:19:55 (GMT)
commit18f5785d52c173bb4acf4b346ed375bd31cc83e3 (patch)
tree5f43f329d3bc1d14e5d15bfeeb2e9000072780a3 /macosx/tkMacOSXNotify.c
parent1a9ed03cff3ca2e3ce2fba690a478d0651c55d12 (diff)
downloadtk-18f5785d52c173bb4acf4b346ed375bd31cc83e3.zip
tk-18f5785d52c173bb4acf4b346ed375bd31cc83e3.tar.gz
tk-18f5785d52c173bb4acf4b346ed375bd31cc83e3.tar.bz2
Remove all conditional code which requires a minimum deployment target
of OSX 10.5. Currently the build fails for 10.5 and it seems pointless to try fixing it now, more than 8 years after Apple declared it obsolete.
Diffstat (limited to 'macosx/tkMacOSXNotify.c')
-rw-r--r--macosx/tkMacOSXNotify.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/macosx/tkMacOSXNotify.c b/macosx/tkMacOSXNotify.c
index ac0c0ec..fad61b4 100644
--- a/macosx/tkMacOSXNotify.c
+++ b/macosx/tkMacOSXNotify.c
@@ -276,15 +276,9 @@ TkMacOSXEventsCheckProc(
inMode:GetRunLoopMode(modalSession)
dequeue:NO];
/* We must not steal any events during LiveResize. */
- #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
if (testEvent && [[testEvent window] inLiveResize]) {
break;
}
- #else
- if (testEvent && [[[testEvent window] contentView] inLiveResize]) {
- break;
- }
- #endif
currentEvent = [NSApp nextEventMatchingMask:NSAnyEventMask
untilDate:[NSDate distantPast]
inMode:GetRunLoopMode(modalSession)