From 57cf9969b6514b00e0a774f3b4d49b3634bbdb39 Mon Sep 17 00:00:00 2001 From: Chris Hamons Date: Thu, 25 Oct 2018 09:32:16 -0500 Subject: [PATCH] [macos] Add NSScrollView.AddFloatingSubview - https://github.com/xamarin/xamarin-macios/issues/5039 --- src/appkit.cs | 4 ++++ tests/xtro-sharpie/macOS-AppKit.ignore | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/appkit.cs b/src/appkit.cs index 730528233a2c..9dd81625e37c 100644 --- a/src/appkit.cs +++ b/src/appkit.cs @@ -13377,6 +13377,10 @@ partial interface NSScrollView : NSTextFinderBarContainer { [Mac (10, 10)] [Export ("scrollerInsets", ArgumentSemantic.Assign)] NSEdgeInsets ScrollerInsets { get; set; } + + [Mac (10,9)] + [Export ("addFloatingSubview:forAxis:")] + void AddFloatingSubview (NSView view, NSEventGestureAxis axis); } [BaseType (typeof (NSTextField), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] { typeof (NSSearchFieldDelegate)})] diff --git a/tests/xtro-sharpie/macOS-AppKit.ignore b/tests/xtro-sharpie/macOS-AppKit.ignore index 19004e9fcb56..138b7afc1a5b 100644 --- a/tests/xtro-sharpie/macOS-AppKit.ignore +++ b/tests/xtro-sharpie/macOS-AppKit.ignore @@ -951,7 +951,6 @@ !missing-selector! NSSavePanel::selectText: not bound !missing-selector! NSScreen::maximumExtendedDynamicRangeColorComponentValue not bound !missing-selector! NSScroller::setFloatValue:knobProportion: not bound -!missing-selector! NSScrollView::addFloatingSubview:forAxis: not bound !missing-selector! NSSegmentedCell::interiorBackgroundStyleForSegment: not bound !missing-selector! NSSegmentedControl::indexOfSelectedItem not bound !missing-selector! NSSet::enumerateIndexPathsWithOptions:usingBlock: not bound