aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2014-03-27 18:24:47 +1100
committernyamatongwe <nyamatongwe@gmail.com>2014-03-27 18:24:47 +1100
commitb98cccfe8bbd8a0596e88ce895bd7daa90fb3d69 (patch)
treeba35015944374b64fde1c37ee17dd4c70e36ff6f /cocoa/ScintillaView.mm
parentc7062988fae7ef98dc94b4b4956d01cbd4c6226c (diff)
downloadscintilla-mirror-b98cccfe8bbd8a0596e88ce895bd7daa90fb3d69.tar.gz
Surround 10.9-specific calls with version checks to ensure builds on old SDKs.
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r--cocoa/ScintillaView.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index 222fcdc8f..bd79fbb71 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -253,7 +253,9 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor)
- (void) prepareContentInRect: (NSRect) rect
{
mOwner.backend->WillDraw(rect);
+#if MAC_OS_X_VERSION_MAX_ALLOWED > 1080
[super prepareContentInRect: rect];
+#endif
}
//--------------------------------------------------------------------------------------------------