Browse Source

make the default handle the NSWindow.

pull/3304/head^2
Dan Walmsley 7 years ago
parent
commit
916343448e
  1. 4
      src/Avalonia.Native/WindowImplBase.cs

4
src/Avalonia.Native/WindowImplBase.cs

@ -25,9 +25,9 @@ namespace Avalonia.Native
_native = native;
}
public IntPtr Handle => IntPtr.Zero;
public IntPtr Handle => NSWindow;
public string HandleDescriptor => "NOT SUPPORTED";
public string HandleDescriptor => "NSWindow";
public IntPtr NSView => _native.ObtainNSViewHandle();

Loading…
Cancel
Save