guard against SDK < 10.12

This commit is contained in:
Stefan Csomor
2021-04-03 22:40:08 +02:00
parent 5452d7235e
commit 41bf57fee3

View File

@@ -884,6 +884,7 @@ static void SetDrawingEnabledIfFrozenRecursive(wxWidgetCocoaImpl *impl, bool ena
[super viewDidMoveToWindow];
}
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101200
- (void) viewWillDraw
{
if ( WX_IS_MACOS_AVAILABLE(11, 0) )
@@ -894,6 +895,7 @@ static void SetDrawingEnabledIfFrozenRecursive(wxWidgetCocoaImpl *impl, bool ena
[super viewWillDraw];
}
#endif
@end // wxNSView