Skip to content

Commit

Permalink
[macos][appkit] Provide a better API for NSWindow.EndSheet (and obsol…
Browse files Browse the repository at this point in the history
…ete the existing one) (#2100)
  • Loading branch information
spouliot authored and rolfbjarne committed May 17, 2017
1 parent 845f365 commit 19d06fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/appkit.cs
Expand Up @@ -19884,7 +19884,13 @@ partial interface NSWindow : NSAnimatablePropertyContainer, NSUserInterfaceItemI

[Mac (10,9)]
[Export ("endSheet:returnCode:")]
void EndSheet (NSWindow sheetWindow, NSModalResponse returnCode);
#if !XAMCORE_4_0
[Obsolete ("Use the EndSheet(NSWindow,NSModalResponse) overload")]
[Mac (10,9)]
[Wrap ("EndSheet (sheetWindow, (NSModalResponse)(long)returnCode)", IsVirtual = true)]
void EndSheet (NSWindow sheetWindow, nint returnCode);
#endif

[Mac (10,11)]
[Export ("minFullScreenContentSize", ArgumentSemantic.Assign)]
Expand Down

0 comments on commit 19d06fb

Please sign in to comment.